diff src/bufferproxy.c @ 1593:fb9540cdf5e5

symbian branch merging
author Rene Dudfield <renesd@gmail.com>
date Fri, 08 May 2009 08:06:24 +0000
parents c0d170c1e636
children 301bc61643a9
line wrap: on
line diff
--- a/src/bufferproxy.c	Fri May 08 08:03:02 2009 +0000
+++ b/src/bufferproxy.c	Fri May 08 08:06:24 2009 +0000
@@ -148,6 +148,7 @@
     0,                          /* tp_init */
     0,                          /* tp_alloc */
     _bufferproxy_new,           /* tp_new */
+#ifndef __SYMBIAN32__    
     0,                          /* tp_free */
     0,                          /* tp_is_gc */
     0,                          /* tp_bases */
@@ -156,6 +157,7 @@
     0,                          /* tp_subclasses */
     0,                          /* tp_weaklist */
     0                           /* tp_del */
+#endif    
 };
 
 /**
@@ -389,7 +391,7 @@
 #if PY3
     module = PyModule_Create (&_module);
 #else
-    module = Py_InitModule3 ("bufferproxy", NULL, _bufferproxy_doc);
+    module = Py_InitModule3 (MODPREFIX "bufferproxy", NULL, _bufferproxy_doc);
 #endif
     PyBufferProxy_Type.tp_getattro = PyObject_GenericGetAttr;
     Py_INCREF (&PyBufferProxy_Type);