[xiph-cvs] cvs commit: theora/include/theora theora.h

Michael Smith msmith at xiph.org
Mon Mar 8 22:18:44 PST 2004



msmith      04/03/09 01:18:44

  Modified:    include/theora theora.h
  Log:
  extern "C" {} C++ stuff for joeforker and AndrewBachmann.

Revision  Changes    Path
1.18      +9 -2      theora/include/theora/theora.h

Index: theora.h
===================================================================
RCS file: /usr/local/cvsroot/theora/include/theora/theora.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- theora.h	6 Dec 2003 18:06:19 -0000	1.17
+++ theora.h	9 Mar 2004 06:18:44 -0000	1.18
@@ -11,13 +11,18 @@
  ********************************************************************
 
   function:
-  last mod: $Id: theora.h,v 1.17 2003/12/06 18:06:19 arc Exp $
+  last mod: $Id: theora.h,v 1.18 2004/03/09 06:18:44 msmith Exp $
 
  ********************************************************************/
 
 #ifndef _O_THEORA_H_
 #define _O_THEORA_H_
 
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
 #ifndef LIBOGG2
 #include <ogg/ogg.h>
 #else
@@ -136,6 +141,8 @@
 extern int   theora_comment_query_count(theora_comment *tc, char *tag);
 extern void  theora_comment_clear(theora_comment *tc);
 
-
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
 
 #endif /* _O_THEORA_H_ */

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list