Commit 91d3a794 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

d3dx8: Make d3dx8core.h C++ compatible.

parent 0894bf25
......@@ -105,6 +105,10 @@ DECLARE_INTERFACE_(ID3DXFont,IUnknown)
/*************************************************************************************
* Define entrypoints
*/
#ifdef __cplusplus
extern "C" {
#endif
HRESULT WINAPI D3DXCreateBuffer(DWORD NumBytes, LPD3DXBUFFER* ppBuffer);
HRESULT WINAPI D3DXCreateFont(LPDIRECT3DDEVICE8 pDevice, HFONT hFont, LPD3DXFONT* ppFont);
UINT WINAPI D3DXGetFVFVertexSize(DWORD FVF);
......@@ -121,4 +125,8 @@ HRESULT WINAPI D3DXAssembleShaderFromFileW(LPWSTR pSrcFile, DWORD Flags,
LPD3DXBUFFER* ppCompiledShader,
LPD3DXBUFFER* ppCompilationErrors);
#ifdef __cplusplus
}
#endif
#endif /* __WINE_D3DX8CORE_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment