diff src/pixelarray.c @ 1594:398265dca2fb

symbian branch merging
author Rene Dudfield <renesd@gmail.com>
date Fri, 08 May 2009 08:28:04 +0000
parents c0d170c1e636
children e020b26b5fba
line wrap: on
line diff
--- a/src/pixelarray.c	Fri May 08 08:06:24 2009 +0000
+++ b/src/pixelarray.c	Fri May 08 08:28:04 2009 +0000
@@ -227,6 +227,7 @@
     0,                          /* tp_init */
     0,                          /* tp_alloc */
     _pxarray_new,               /* tp_new */
+#ifndef __SYMBIAN32__
     0,                          /* tp_free */
     0,                          /* tp_is_gc */
     0,                          /* tp_bases */
@@ -235,6 +236,7 @@
     0,                          /* tp_subclasses */
     0,                          /* tp_weaklist */
     0                           /* tp_del */
+#endif    
 };
 
 static PyPixelArray*
@@ -2152,7 +2154,7 @@
 #if PY3
     module = PyModule_Create (&_module);
 #else
-    module = Py_InitModule3 ("pixelarray", NULL, NULL);
+    module = Py_InitModule3 (MODPREFIX "pixelarray", NULL, NULL);
 #endif
     if (module == NULL)
     {