Hey David,
On 2018-01-04 8:23, David Ireland wrote:
Any suggestions would be appreciated.
You probably want something like this for return-c-string-list instead:
(define return-c-string-list
(foreign-lambda* c-string-list ()
"const char* f[] = { NULL };"
"C_return(f);"))
char*
Hi,
I'm writing an egg for a C library. One C function returns a
*char ***
I thought the correct foreign type would be *c-string-list *however this
results in a segmentation violation when calling the function.
Here is a mock example code:
*(import foreign)(define return-c-string-list (f