Hello,

I try to implement a dynamic array in cython with malloc and free.
My current problem is, that these functions are not builtins. After a 
little research in the documentation I have found the following wiki 
article:

http://wiki.cython.org/DynamicMemoryAllocation

My problem seems to be solved by including "stdlib.pxi"
But when I add this line at the top of my pyx file and try to compile 
it. I get the following error:

'stdlib.pxi' not found

I tried to add the lib to my setup.py as an additional source file, but 
nothing changes. I get the same error.

How do I include the stdlib file correctly?



Thank you in advance

Christian
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to