Andras Simon asimon@math.bme.hu writes:
with-foreign-object (var type options) &body body
(where options are used as keyword arguments to foreign-alloc) or some such instead of
You have a point there, with-foreign-object will be redesigned. :-)
I'm still thinking about playing with the idea of "foreign objects" that carry types, like Lispworks's pointers and CMUCL/SBCL's alien objects so this macro should change name.
with-dynamic-alloc? with-foreign-alloc? Hmm.. I like "with-dynamic-alloc" (IIRC, this name is probably similar to something Lispworks has, heh). Preferences/suggestions anyone?