[ab] Just to make sure I understand ...
Christopher Eineke
chris at chriseineke.com
Tue Mar 13 23:14:07 CST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Luke J Crook wrote:
> base/ : A thin wrapper over the functions in cffi/ . The functions in
> base/ will take keyword arguments where appropriate, accept NIL instead
> of CFFI:NULL-POINTER etc.
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. :-)
chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
iD8DBQFF94SZXqJ2OrS34zgRCj5ZAJ9raAGefqK9UEpX+gNjcXzCwxlngQCbBuZu
7zixH2JxsnhM1xfXTSSOYfE=
=TE4T
-----END PGP SIGNATURE-----
More information about the application-builder
mailing list