On 7/set/2005, at 00:39, Kenny Tilton wrote:
I am trying to port my code to CFFI, getting nowhere fast.
Uh oh, that's not good.
The first thing I need to do is translate UFFI deref-array calls. Found it in the cffi uffi compatibility code, then killed a few minutes searching the doc for foreign-aref. Finally occurred to me to check and discovered there is no such thing.
Now the leading candidate is mem-aref. Looks promising, but what is up with that UFFI compatibility code?
mem-aref (formerly named foreign-aref) is what we have so far accessing arrays. It's only useful for 1d arrays.
I haven't touched uffi-compat so it's very likely that it's broken atm.