[cffi-devel] Re: creating two-dimensional arrays

Luís Oliveira luismbo at gmail.com
Wed Mar 15 11:46:44 UTC 2006


hbabcockos1 at mac.com writes:
> What is the right way to create a 2D array to pass to a c-function
> that expects **arr?

In message ID <BAY17-DAV41D78728D384B9C2D15ADD9300 at phx.gbl>, Vasilis
sent some functions macros to manipulate and create arrays of arbitrary
ranks: http://common-lisp.net/pipermail/cffi-devel/2005-December/000281.html

This hasn't been tested so let us know if it works for you as we should
probably incorporate that into CFFI. (Ah, and watch out for ,@ mangling
in the archive).

HTH

-- 
Luís Oliveira
luismbo (@) gmail (.) com
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt




More information about the cffi-devel mailing list