On 1/18/07, Elliot Cuzzillo <[EMAIL PROTECTED]> wrote:
------------------------------------------------
This leads me to think that some kind of name mangling in C++ prevents
callbacks from having the correct name, or something. Is calling
Scheme from C++ (as opposed to C) feasible, or should I have some sort
of C glue layer?


You have to declare "foo" as a C function:

extern "C" int foo(char *bla);


cheers,
felix


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to