[cffi-devel] WITH-FOREIGN-STRING allocates on heap?

Hans Hübner hans at huebner.org
Fri Jun 20 04:21:07 UTC 2008


Hi,

is there a good reason why WITH-FOREIGN-STRING allocates the buffer on
the heap instead of using WITH-FOREIGN-OBJECT, which will allocate on
the stack on platforms that support it?

Thanks,
-Hans



More information about the cffi-devel mailing list