Hi,
There's a minor problem in the cffi-allegro.lisp that prevents using
constant variables in with-foreign-pointer. Would you please apply
the patch?
Tue Apr 20 19:16:26 JST 2010 Jianshi Huang <huang(a)msi.co.jp>
* Fix bug that size in with-foreign-pointer cannot be a constant variable.
diff -rN old-cffi/src/cffi-allegro.lisp new-cffi/src/cffi-allegro.lisp
139c139
< (ff:with-static-fobject (,var '(:array :char ,size)
---
> (ff:with-static-fobject (,var (list :array :char ,size)
Cheers,
Jianshi