[Numpy-svn] r3663 - trunk/numpy/doc/swig

numpy-svn@scip... numpy-svn@scip...
Wed Apr 4 12:48:00 CDT 2007

Author: wfspotz@sandia.gov
Date: 2007-04-04 12:47:57 -0500 (Wed, 04 Apr 2007)
New Revision: 3663

Completed update of README file

Modified: trunk/numpy/doc/swig/README
--- trunk/numpy/doc/swig/README	2007-04-04 17:44:03 UTC (rev 3662)
+++ trunk/numpy/doc/swig/README	2007-04-04 17:47:57 UTC (rev 3663)
@@ -51,8 +51,8 @@
 argument to the numpy array constructor, and can be used to build an
 array of type "type".  Currently, types "signed char", "unsigned
 char", "short", "unsigned short", "int", "unsigned int", "long",
-"unsigned long", "long long", "unsigned long long", "float", "double",
-"PyObject" and "char" are supported and tested.
+"unsigned long", "long long", "unsigned long long", "float", and
+"double" are supported and tested.
 The objective for the INPLACE_ARRAY signatures is for SWIG to generate
 python wrappers that accept a numpy array of any of the above-listed
@@ -89,13 +89,10 @@
-  * Support for complex data types should be added.  Currently swig
-    dies with a syntax error when the %numpy_typemaps macro is used
-    with complex types.
+  * Write tests for 3D typemaps.
-  * Better ARGOUT typemaps need to be implemented and tested.  I
-    stalled on this because SWIG implements a new method for
-    aggregating output arguments; it has changed from a tuple to a
-    list and requires importing a different SWIG library file.  I
-    didn't particularly want to spend time trying to support both
-    approaches, and I ended up not finishing a typemap for either.
+  * Add ARGOUT typemaps that assume the function allocates the buffers
+    internally.
+  * Add "naked" typemaps for argument lists that do not specify
+    dimensions.

More information about the Numpy-svn mailing list