This must either be really trivial or completely impossible: suppose I need to create an instance of a C structure that has a void* slot. I want to fill that slot with (some representation of) an arbitrary Lisp value so that when that structure is handed back to my Lisp code I can get back to the Lisp object. Other than keeping my own integer->object mapping and passing the integer to C and translating it back to the object when I get it back, is there some easier way to do this in CFFI?

-Peter

--
Peter Seibel            :  [EMAIL PROTECTED]
Gigamonkeys Consulting  :  http://www.gigamonkeys.com/
_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to