Closed mmontone closed 10 years ago
If evaluate with run*, I do get the pointer:
BURGLED-BATTERIES> (run* "object()")
Ok. If I set (setf python.cffi::unknown-translation-policy :pass-through) then, well, objects are passed through. Now I realize there are more things going on than I understand atm.
Just in case you're still wondering about this: the reason #'run doesn't return a pointer by default is because handing back pointers to code unprepared to handle them felt unhelpful and seemed likely to be unsafe.
(Apologies for my failure to respond in a timely manner. Apparently github does not send new issue notifications by default.)
Hi. Just in case you are not receiving notifications from github, I've opened and issue I would like you to look at.
Thanks!
Mariano
On Mon, Nov 17, 2014 at 10:26 PM, pinterface notifications@github.com wrote:
Just in case you're still wondering about this: the reason #'run doesn't return a pointer by default is because handing back pointers to code unprepared to handle them felt unhelpful and seemed likely to be unsafe.
(Apologies for my failure to respond in a timely manner. Apparently github does not send new issue notifications by default.)
— Reply to this email directly or view it on GitHub https://github.com/pinterface/burgled-batteries/issues/1#issuecomment-63408037 .
NIL is returned instead of an object pointer for unknown conversions
Example:
BURGLED-BATTERIES> (run "object()") NIL