Christopher Eineke <[EMAIL PROTECTED]> writes:

> Since you're talking about NULL-POINTERs -- any suggestions on how to
> use the data1 and data2 arguments in sdl-base:push-user-event in a lispy
> way?
> 
> I'd rather not write glue code that allocates memory on the heap with
> cffi:foreign-alloc just to get a SAP that we can pass around safely. And
> converting integers to pointers is an dirty hack. 

Peter just asked this question on the CFFI mailing list and received a response.

http://article.gmane.org/gmane.lisp.cffi.devel/1044

- Luke

_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to