Commit 3d451904 authored by Kurt Smith's avatar Kurt Smith Committed by Mark Florisson

added array_cwrapper convenience function in CythonScope.py

parent bdbc01d4
......@@ -536,4 +536,8 @@ cdef class array:
self.shape = NULL
self.format = NULL
self.itemsize = 0
cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char mode):
return array(shape, itemsize, format, mode)
''', prefix=cyarray_prefix)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment