[Numpy-discussion] Half baked C API?

konrad.hinsen at laposte.net konrad.hinsen at laposte.net
Tue Mar 15 23:50:51 CST 2005


On 16.03.2005, at 02:34, Michiel Jan Laurens de Hoon wrote:

> do it. Note that for ranlib, the header files are actually installed  
> as Numeric/ranlib.h, but as far as I know it is not possible to link a  
> C extension module to Numerical Python's ranlib at the C level. So I  
> would welcome what Ralf is suggesting.
>
That's not possible in a portable way, right. For those reasons I  
usually propose a C API in my C extension modules (Scientific.IO.NetCDF  
and Scientific.MPI for example) that is accessible through C pointer  
objects in Python.

Konrad.
--
------------------------------------------------------------------------ 
-------
Konrad Hinsen
Laboratoire Leon Brillouin, CEA Saclay,
91191 Gif-sur-Yvette Cedex, France
Tel.: +33-1 69 08 79 25
Fax: +33-1 69 08 82 61
E-Mail: khinsen at cea.fr
------------------------------------------------------------------------ 
-------





More information about the Numpy-discussion mailing list