Commit 2a69a7f0 authored by colinw's avatar colinw

Added extern "C" around exported functions



git-svn-id: http://svn.annodex.net/liboggz/trunk@436 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 61755d6a
......@@ -40,6 +40,10 @@
#include <oggz/oggz_constants.h>
#include <oggz/oggz_table.h>
#ifdef __cplusplus
extern "C" {
#endif
/** \mainpage
*
* \section intro Oggz makes programming with Ogg easy!
......@@ -451,7 +455,7 @@ OGGZ * oggz_new (int flags);
* \return A new OGGZ handle
* \retval NULL System error; check errno for details
*/
OGGZ * oggz_open (char * filename, int flags);
OGGZ * oggz_open (const char * filename, int flags);
/**
* Create an OGGZ handle associated with a stdio stream
......@@ -1150,4 +1154,8 @@ long oggz_serialno_new (OGGZ * oggz);
#include <oggz/oggz_io.h>
#ifdef __cplusplus
}
#endif
#endif /* __OGGZ_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