|
From: | felix winkelmann |
Subject: | Re: [Chicken-users] continuing callback confusion |
Date: | Fri, 19 Jan 2007 09:03:25 +0100 |
On 1/18/07, Elliot Cuzzillo <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |