Module: wine Branch: master Commit: 91d3a794e8b756dbcb7047c77acf1a7f862627dd URL: http://source.winehq.org/git/wine.git/?a=commit;h=91d3a794e8b756dbcb7047c77a...
Author: Francois Gouget fgouget@free.fr Date: Tue Feb 5 00:04:37 2008 +0100
d3dx8: Make d3dx8core.h C++ compatible.
---
include/d3dx8core.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/d3dx8core.h b/include/d3dx8core.h index f4698ea..7e6806b 100644 --- a/include/d3dx8core.h +++ b/include/d3dx8core.h @@ -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 */