阅读背景:

如何使用Cython将Python列表传递给C函数

来源:互联网 

I am using a Raspberry Pi to interface with custom hardware connected to the GPIO. The controlling software is written in Python, and the interface to the custom hardware is written in C, as it is a much faster C implementation. I now need to start calling my C functions from my Python, and have recently been learning how to wrap C in Cython. I have got everything to work, except passing a Python list to a C function.I am using a Raspberry Pi to interface with cus




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: