[Numpy-svn] r3663 - trunk/numpy/doc/swig
numpy-svn at scipy.org
numpy-svn at scipy.org
Wed Apr 4 13:48:00 EDT 2007
Author: wfspotz at sandia.gov
Date: 2007-04-04 12:47:57 -0500 (Wed, 04 Apr 2007)
New Revision: 3663
Modified:
trunk/numpy/doc/swig/README
Log:
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 @@
ToDo
----
- * 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