[xiph-commits] r2965 - liboggplay/trunk/include/oggplay
shans at svn.annodex.net
shans at svn.annodex.net
Sun Jun 17 18:37:53 PDT 2007
Author: shans
Date: 2007-06-17 18:37:53 -0700 (Sun, 17 Jun 2007)
New Revision: 2965
Modified:
liboggplay/trunk/include/oggplay/oggplay.h
Log:
Added extern "C" to oggplay.h when compiled in C++ mode.
Modified: liboggplay/trunk/include/oggplay/oggplay.h
===================================================================
--- liboggplay/trunk/include/oggplay/oggplay.h 2007-06-18 01:32:51 UTC (rev 2964)
+++ liboggplay/trunk/include/oggplay/oggplay.h 2007-06-18 01:37:53 UTC (rev 2965)
@@ -40,6 +40,10 @@
#ifndef __OGGPLAY_H__
#define __OGGPLAY_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <oggplay/oggplay_enums.h>
#include <oggplay/oggplay_reader.h>
@@ -123,4 +127,8 @@
OggPlayErrorCode
oggplay_close(OggPlay *player);
+#ifdef __cplusplus
+}
#endif
+
+#endif
More information about the commits
mailing list