[cffi-devel] patch to uffi compat?

Luis Oliveira luismbo at gmail.com
Sat Sep 17 00:53:01 UTC 2005


On 17/set/2005, at 01:44, Kenny Tilton wrote:
> I am using the cffi-uffi-compat package to see if I can quickly port 
> my opengl framework to CFFI. A simple deref-array on type :float died 
> on no element-type method for a built-in type. I added:
>
> (defmethod element-type ((other cffi::foreign-type))
>  (cffi::name other))

What do you mean deref-array on type :float? I thought you could only 
do deref-array on a type (:array <something>)?

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt




More information about the cffi-devel mailing list