19 Feb
2010
19 Feb
'10
7:28 p.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/