The array:
typedef char **ROW; /* return data as array of strings */
is returned to lisp threw
(ff:def-foreign-call fetch_row nil :returning ?)
How can I access the array in lisp ?
What type and how should I define it ?
I have read the manual for Foreign Function Interface but I cant figure
this out...
Thanks in advance
Řyvind
Sent via Deja.com http://www.deja.com/
Before you buy.
There are different conventions for the array size. either by a limiting
NULL or by an extra size argument. Both are explained.
(ff:def-foreign-call handle_strings
(integer (simple-array simple-string (*))))
oyv...@ifi.ntnu.no wrote:
>I have a problem with accessing an array returned from a code
>
>The array:
>typedef char **ROW; /* return data as array of strings */
>
>is returned to lisp threw
>(ff:def-foreign-call fetch_row nil :returning ?)
>
>How can I access the array in lisp ?
>What type and how should I define it ?
>
>I have read the manual for Foreign Function Interface but I cant figure
>this out...
--
Reini Urban
http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html