PyArray_SimpleNewFromData example

后端 未结 2 1543
臣服心动
臣服心动 2020-12-03 03:43

I know that this thing has been answered a lot of times and I have also read the documentation as well but still I am not able to clearly understand how is this working. As

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 04:31

    Make sure that you plug the memory leak that the above approach entrails. I am guessing in the above x is a pointer of type void *. Check this out.

提交回复
热议问题