[Numpy-svn] r8357 - trunk/numpy/core/src/private

numpy-svn@scip... numpy-svn@scip...
Sat Apr 24 23:30:57 CDT 2010


Author: charris
Date: 2010-04-24 23:30:57 -0500 (Sat, 24 Apr 2010)
New Revision: 8357

Modified:
   trunk/numpy/core/src/private/npy_3kcompat.h
Log:
BUG: Fix wrong destructor type in NpyCapsule_FromVoidPtrAndDesc.

Modified: trunk/numpy/core/src/private/npy_3kcompat.h
===================================================================
--- trunk/numpy/core/src/private/npy_3kcompat.h	2010-04-25 04:30:54 UTC (rev 8356)
+++ trunk/numpy/core/src/private/npy_3kcompat.h	2010-04-25 04:30:57 UTC (rev 8357)
@@ -274,7 +274,8 @@
 }
 
 static NPY_INLINE PyObject *
-NpyCapsule_FromVoidPtrAndDesc(void *ptr, void* context, void (*dtor)(void *))
+NpyCapsule_FromVoidPtrAndDesc(void *ptr, void* context,
+        void (*dtor)(void *, void *))
 {
     return PyCObject_FromVoidPtrAndDesc(ptr, context, dtor);
 }



More information about the Numpy-svn mailing list