
20 Feb
2010
20 Feb
'10
3:28 a.m.
Guillaume Yziquel a écrit :
Hello.
So just wondering: has anyone succeeded in wrapping functions like PyTuple_Pack using stuff like avcall, libffi, or cinvoke?
Here's the code of my wrapper:
Stupid me:
av_start_ptr(argList, PyTuple_Pack, PyObject*, retVal);
was wrong.
av_start_ptr(argList, &PyTuple_Pack, PyObject*, &retVal)
was the correct invocation.
--
Guillaume Yziquel
http://yziquel.homelinux.org/