On Mar 12, 2010, at 9:05 AM, gerhard wrote:
Trying to wrap an existing library.
I managed to at least get started with a .spyx file as follows:
cdef extern from "stdlib.h":
void *malloc(size_t size)
int free(void*)
int sizeof()
cdef extern from "func.h
Trying to wrap an existing library.
I managed to at least get started with a .spyx file as follows:
cdef extern from "stdlib.h":
void *malloc(size_t size)
int free(void*)
int sizeof()
cdef extern from "func.h":
int func( int n, float* x )
cdef doub