[xiph-commits] r8331 - trunk/py-ogg2/src

j at motherfish-iii.xiph.org j at motherfish-iii.xiph.org
Fri Dec 3 12:47:32 PST 2004


Author: j
Date: 2004-12-03 12:47:32 -0800 (Fri, 03 Dec 2004)
New Revision: 8331

Modified:
   trunk/py-ogg2/src/module.c
   trunk/py-ogg2/src/module.h
Log:
make py-ogg2 compile on macosx too

Modified: trunk/py-ogg2/src/module.c
===================================================================
--- trunk/py-ogg2/src/module.c	2004-12-03 20:16:00 UTC (rev 8330)
+++ trunk/py-ogg2/src/module.c	2004-12-03 20:47:32 UTC (rev 8331)
@@ -9,6 +9,11 @@
 #include "packbuff.h"
 #include "page.h"
 
+PyObject *PyOgg_Error;
+PyObject *PyOggPage_Error;
+PyObject *PyOggPacket_Error;
+
+
 static PyMethodDef Ogg_methods[] = {
   {"OggPackBuff", PyOggPackBuffer_New,
    METH_VARARGS, PyOggPackBuffer_Doc},

Modified: trunk/py-ogg2/src/module.h
===================================================================
--- trunk/py-ogg2/src/module.h	2004-12-03 20:16:00 UTC (rev 8330)
+++ trunk/py-ogg2/src/module.h	2004-12-03 20:47:32 UTC (rev 8331)
@@ -3,9 +3,9 @@
 
 #include <Python.h>
 
-PyObject *PyOgg_Error;
-PyObject *PyOggPage_Error;
-PyObject *PyOggPacket_Error;
+extern PyObject *PyOgg_Error;
+extern PyObject *PyOggPage_Error;
+extern PyObject *PyOggPacket_Error;
 
 /* Object docstrings */
 



More information about the commits mailing list