Skip to content

Commit

Permalink
Added #ifdef __cplusplus blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 9, 2011
1 parent 2d963a8 commit a82e6f8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mojodds.h
Expand Up @@ -2,14 +2,20 @@
#define _INCL_MOJODDS_H_

/* !!! FIXME: flesh this file out. */
#ifdef __cplusplus
extern "C" {
#endif

int MOJODDS_isDDS(const void *_ptr, const unsigned long _len);
int MOJODDS_getTexture(const void *_ptr, const unsigned long _len,
const void **_tex, unsigned long *_texlen, int *_dxtver,
unsigned int *_w, unsigned int *_h);

#ifdef __cplusplus
}
#endif

/* end of mojodds.h ... */
#endif

/* end of mojodds.h ... */

0 comments on commit a82e6f8

Please sign in to comment.