summaryrefslogtreecommitdiff
path: root/numpy/core/src/arrayobject.c
diff options
context:
space:
mode:
authorwfspotz@sandia.gov <wfspotz@sandia.gov@localhost>2007-03-14 15:47:12 +0000
committerwfspotz@sandia.gov <wfspotz@sandia.gov@localhost>2007-03-14 15:47:12 +0000
commit6a23ed31cebdd16dde0500c4f532ed844c585585 (patch)
tree72c8ecc607b0c54f9df9cc8f8470368db53845e3 /numpy/core/src/arrayobject.c
parent19ab75e0741b1c4bda24f753779b8862bca6aaeb (diff)
downloadnumpy-6a23ed31cebdd16dde0500c4f532ed844c585585.tar.gz
In numpy.i:
* I consolidated several macros TYPEMAP_IN1 TYPEMAP_IN2 TYPEMAP_INPLACE1 TYPEMAP_INPLACE2 TYPEMAP_ARGOUT1 TYPEMAP_ARGOUT2 into a single macros, %numpy_typemaps(). This makes expanding the typemaps for a given data type much easier. * The %numpy_typemaps() macro is now expanded for:: signed char unsigned char short unsigned short int unsigned int long unsigned long long long unsigned long long float double PyObject char * I changed the ARGOUT typemaps to check for multiple output arguments, and form a tuple if necessary. * Updated the code to work with released numpy versions 0.9.6, 0.9.8, 1.0 and 1.0.1. * Upgraded the dimension arrays to use type npy_intp. I also added documentation: numpy_swig.txt is a numpy.i users guide in restructured text format; numpy_swig.html is the same content in HTML. The Makefile can produce this with 'make html', assuming docutils is installed. The series.h and series.cxx files have been refactored to use macros to generate repetitive code for different types. All the supported types have tests for all of the non-ARGOUT typemaps. ARGOUT typemap tests still need to be written.
Diffstat (limited to 'numpy/core/src/arrayobject.c')
0 files changed, 0 insertions, 0 deletions