[Scipy-svn] r3450 - trunk/scipy/ndimage/src

scipy-svn@scip... scipy-svn@scip...
Sun Oct 21 15:56:04 CDT 2007


Author: matthew.brett@gmail.com
Date: 2007-10-21 15:55:46 -0500 (Sun, 21 Oct 2007)
New Revision: 3450

Modified:
   trunk/scipy/ndimage/src/nd_image.h
Log:
Removed obscure function pointer defines causing crashes with gcc 4.2 in the hope this will reveal their purpose

Modified: trunk/scipy/ndimage/src/nd_image.h
===================================================================
--- trunk/scipy/ndimage/src/nd_image.h	2007-10-20 03:16:30 UTC (rev 3449)
+++ trunk/scipy/ndimage/src/nd_image.h	2007-10-21 20:55:46 UTC (rev 3450)
@@ -273,12 +273,6 @@
                                        NA_ByteOrder(), 1, 1);
 }
 
-#define  NA_OutputArray (*(PyArrayObject* (*) (PyObject*,NumarrayType,int) ) (void *) NA_OutputArray)
-#define  NA_IoArray (*(PyArrayObject* (*) (PyObject*,NumarrayType,int) ) (void *) NA_IoArray)
-#define  NA_NewArray (*(PyArrayObject* (*) (void* buffer, NumarrayType, int, ...) ) (void *) NA_NewArray )
-#define  NA_elements (*(unsigned long (*) (PyArrayObject*) ) (void *) NA_elements)
-#define  NA_InputArray (*(PyArrayObject* (*) (PyObject*,NumarrayType,int) ) (void *) NA_InputArray)
-
 #endif /* ND_IMPORT_ARRAY */
 
 #endif /* ND_IMAGE_H */



More information about the Scipy-svn mailing list