From f23d2c9f6e14e26abbea0efdb3b545e985871d6a Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 17 Jul 2007 03:34:14 +0000 Subject: Forgot the C++ protection. --- include/dds.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/dds.h b/include/dds.h index 5a0352e..d16d3ac 100644 --- a/include/dds.h +++ b/include/dds.h @@ -1,9 +1,17 @@ #ifndef __DDS_H__ #define __DDS_H__ +#ifdef __cplusplus +extern "C" { +#endif + int ddsInit(); // returns the OpenGL-generated texture index. int loadCompressedTexture( const char *fname ); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3