2013-03-28から1日間の記事一覧

ctypesでC言語側の配列データを取得する方法

参考 http://stackoverflow.com/questions/4213095/python-and-ctypes-how-to-correctly-pass-pointer-to-pointer-into-dll // c_hoge.cpp #include "c_hoge.h" #include <stdlib.h> static int numData = 0; static float* arData = NULL; void getArrayData(float** </stdlib.h>…