[Numpy-discussion] checking for array type in C extension

Robert Kern robert.kern@gmail....
Fri Jun 18 10:35:48 CDT 2010

On Fri, Jun 18, 2010 at 10:22, Berthold Hoellmann
<berthold.hoellmann@gl-group.com> wrote:

> I now use 'sizeof' and 'c_int' from ctypes tp construct the dtype
> description:
>  dtype('i%d' % sizeof(c_int))
> Is there a way to avoid the usage of "ctypes" by using information
> provided by numpy?


Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list