diff options
author | Eric Jones <eric@enthought.com> | 2002-09-19 07:08:30 +0000 |
---|---|---|
committer | Eric Jones <eric@enthought.com> | 2002-09-19 07:08:30 +0000 |
commit | 200bff5384ca06d4d61570a576f94ff63b6c335d (patch) | |
tree | 780842aff1bceab242543194ef9bbb6b0044b5c8 /weave/standard_array_spec.py | |
parent | 9dec5004a2593a123fb80eefcb5d73a229cb7501 (diff) | |
download | numpy-200bff5384ca06d4d61570a576f94ff63b6c335d.tar.gz |
added yet another directory into the path of intermediate files generated by
weave. This is needed so that people switching between compilers don't end
up trying to link c++ object files built with incompatible compilers together.
changed Py_INCREF to a Py_XINCREF to guard against NULL pointer problems
in convert_to_xxx routines.
lengthened the type_names strings for Numeric type names in
standard_array_spec. It was shorter than some of the names. yikes!
choose_compiler stuff is no longer done by ext_modules. This was used
to allow xxx_convterters and xxx_info objects to generate different code
depending on which compiler was used. This is no longer done, and I don't
think it should be necessary going forward. I've left a little of the code
in case I'm wrong, but will probably hack it out soon.
Diffstat (limited to 'weave/standard_array_spec.py')
-rw-r--r-- | weave/standard_array_spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weave/standard_array_spec.py b/weave/standard_array_spec.py index c8c8e61dc..9c32bafda 100644 --- a/weave/standard_array_spec.py +++ b/weave/standard_array_spec.py @@ -34,7 +34,7 @@ public: !(numeric_type == PyArray_INT && arr_type == PyArray_LONG) && !(numeric_type == PyArray_LONG && arr_type == PyArray_INT)) { - char* type_names[13] = {"char","unsigned byte","byte", "short", "int", + char* type_names[20] = {"char","unsigned byte","byte", "short", "int", "long", "float", "double", "complex float", "complex double", "object","ntype","unkown"}; char msg[500]; |