I have the following C function:
extern void svec_free(char **v);
And I want to call it from Scheme, so I say:
(define svec-free
(foreign-lambda void "svec_free" (c-pointer c-pointer)))
But the above (c-pointer c-pointer) declaration is a void**, not a
char**, so I get the following warning:
warning: passing argument 1 of 'svec_free' from incompatible pointer type
What is the magic phrase to tell foreign-lambda a parameter is a
char**?
-a
--
my personal website: http://c0redump.org/
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users