On Thu, Jan 05, 2012 at 11:26:05AM +0900, 최원준 wrote:
>    it seems like you recommend below way.
>    Cython example of exposing C-computed arrays in Python without data copies
>    [1]https://gist.github.com/1249305

>    but it uses malloc. isn't it?

In this example, the data can be allocated the way you want in C. Malloc
is just an implementation detail, you can write the code you want
instead.

Gael
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to