[pypy-dev] cppyy and callbacks

Alex Stewart foogod at gmail.com
Sat Jan 18 22:36:09 CET 2014


>
> Ok, so I think I'm really close to having something working now, except
> for one thing:  I can't figure out how to access/pass a void pointer via
> cppyy?
>

So I actually worked around this problem by not using "void *" at all and
passing around intptr_t values instead, which actually works better anyway
since I realized I can pass them directly to/from cppyy.bind_object and
cppyy.addressof (which makes the code come out much cleaner than I'd
originally hoped, actually)..

--Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140118/036a5188/attachment.html>


More information about the pypy-dev mailing list