On 5/19/06, Luís Oliveira <luismbo@gmail.com> wrote:
On 2006-maj-19, at 23:43, Ken Tilton wrote:
> The allocate ended up with CFFI being passed ':float, which really
> made CFFI unhappy.
Strange, it works for me.
UFFI> (allocate-foreign-object :float 16)
#<A Mac Pointer #x302E30>
Also, ':float shouldn't be a problem:
CFFI> (foreign-alloc ':float)
#<A Mac Pointer #x3019F0>
> But a similar hack on deref-array did not fly [...]
If I understand the UFFI docs correctly, I think your code is not
correct UFFI, since deref-array expects an array type,...
OK, that is probably it. We have been thrashing around with old UFFI code half transitioned half not etc etc. Probably flipped some stuff over to CFFI then tried ... well, you get the idea.
thx, kt