[capi-sig] Py_BuildValue, Array from C to Python

Philipp Heuser philipp at achtziger.de
Fri Jan 16 17:34:54 CET 2009

Hi all,

I am trying to return an array from C to Python. Since it is of variable 

return Py_BuildValue("[f,f,f]", array[0], array[1], array[2]);

does not help. How do I do that?

Any help is appreciated,
kind regards

More information about the capi-sig mailing list