On 4/4/07, minh thu <[EMAIL PROTECTED]> wrote:
Hi,
I'm a bit lost :
I'm using foreign-parse to write bindings for the QuesoGLC library [1]
(which I'll release as BSD3 egg; the library itself is LGPL).
Some functions of this library accept string as argument; the type is
void*, not char*.
Building the bindings seems to go well but when I want to use such a function,
Chicken tells me "bad argument type - not a pointer".
I guess I'll have the same problem with void* return types.
How should I handle those cases ?
How do you wrap those library functions? With easyffi? Then, you can
just change the argument type declarations to "char *".
cheers,
felix
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users