Fw: [cffi-devel] How to define a pointer to a 2d array
Joeish W
joeish80829 at yahoo.com
Sun Dec 8 02:12:38 UTC 2013
since it is undocumented can you show me how to use it in this context...plus i notice in src/types.lisp where foreign-array-alloc is located there are a few undocumented functions how would I learn to use them.
On Saturday, November 23, 2013 4:49 PM, Luís Oliveira <loliveira at common-lisp.net> wrote:
On Sat, Nov 23, 2013 at 1:09 AM, Joeish W <joeish80829 at yahoo.com> wrote:
>
>> (labels (foreign-alloc :float :initial-contents '(1.0 -1.0 -1.0 -1.0)))
>>
>> so how do i do the 2d array
>
>Have a look at the undocumented foreign-array-alloc function.
>
>HTH,
>
>--
>Luís Oliveira
>http://kerno.org/~luis/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20131207/84b641b8/attachment.html>
More information about the cffi-devel
mailing list