¡@

Home 

python Programming Glossary: ctest.c

Passing Numpy arrays to a C function for input and output

http://stackoverflow.com/questions/5862915/passing-numpy-arrays-to-a-c-function-for-input-and-output

to figure it out myself. I have a C function in file ctest.c. #include stdio.h void cfun const void indatav int rowcount.. a shared library out of it. gcc fPIC shared o ctest.so ctest.c Then in Python I have a couple numpy arrays and I'd like to..

How to compile .c code from Cython with gcc

http://stackoverflow.com/questions/6985109/how-to-compile-c-code-from-cython-with-gcc

are thrown if this file is missing . cython ctest.pyx gcc ctest.c I C Python27 include C Users niklas AppData Local Temp cckThGrF.o.. include C Users niklas AppData Local Temp cckThGrF.o ctest.c .text 0x1038 undefined reference to `_imp__PyString_FromStringAndSize'.. C Users niklas AppData Local Temp cckThGrF.o ctest.c .text 0x1075 undefined reference to `_imp___Py_TrueStruct' C..