diff options
author | Eric Jones <eric@enthought.com> | 2002-09-30 08:31:56 +0000 |
---|---|---|
committer | Eric Jones <eric@enthought.com> | 2002-09-30 08:31:56 +0000 |
commit | 920b35a1c9a88595384d4ff0f4a90ddf594ffedd (patch) | |
tree | a51766420a2f1af289892b5c6f5f635dddec4712 /weave/standard_array_spec.py | |
parent | c3ba22da35f011595b2643e894db1f797e7f2fec (diff) | |
download | numpy-920b35a1c9a88595384d4ff0f4a90ddf594ffedd.tar.gz |
This checkin has quite a few changes. Most are augmentations to the
py::object class' capabilities and unit tests to check them and
changes to test cases/examples to use the new features.
There is also one other BIG change. return_val has been changed
from a PyObject* to a py::object. This removes the need to handle
reference counting almost completely from inline() code. I am very
happy about this. :-)
All tests pass on win32, but the examples still need some work.
Diffstat (limited to 'weave/standard_array_spec.py')
-rw-r--r-- | weave/standard_array_spec.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weave/standard_array_spec.py b/weave/standard_array_spec.py index 9c32bafda..14e276b4a 100644 --- a/weave/standard_array_spec.py +++ b/weave/standard_array_spec.py @@ -120,6 +120,7 @@ class array_converter(common_base_converter): self.type_name = 'numpy' self.check_func = 'PyArray_Check' self.c_type = 'PyArrayObject*' + self.return_type = 'PyArrayObject*' self.to_c_return = '(PyArrayObject*) py_obj' self.matching_types = [ArrayType] self.headers = ['"Numeric/arrayobject.h"','<complex>','<math.h>'] |