dmalcolm_ has quit [Remote host closed the connection]
dmalcolm_ has joined #pypy
jcea has quit [Ping timeout: 256 seconds]
xcm_ has joined #pypy
xcm has quit [Ping timeout: 252 seconds]
jcea has joined #pypy
lesshaste has joined #pypy
lessshaste has quit [Ping timeout: 272 seconds]
jcea has quit [Ping timeout: 246 seconds]
otisolsen70 has joined #pypy
derpydoo has quit [Ping timeout: 260 seconds]
andrewsm1dina has joined #pypy
andrewsmedina has quit [Ping timeout: 260 seconds]
lesshaste has quit [Remote host closed the connection]
lesshaste has joined #pypy
derpydoo has joined #pypy
archie1234132 has joined #pypy
<archie1234132>
How can I pass a pointer to a pointer to a function? I have a typedef like: `typedef void *(*mycallback_t)(...)`. I'm doing `extern "Python" void *mycallback_python(...);`. I then need to pass it to a function taking `mycallback_t` as argument. Just `f(lib.mycallback_python)` obviously errors out. `f(ffi.addressof(lib.mycallback_python))` gives `TypeError: expected a cdata struct/union/array object`