How do I get values from a C dll array pointer using ctypes and Python

后端 未结 0 1407
走了就别回头了
走了就别回头了 2021-02-05 05:25

A DLL provides a pointer to a 1D array in my C code like this:

__int16 *data = Msg_RowAt(surfaceMsg, rowIdx);

//access the values like this
data[iterator]


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题