On 1/16/07, Elliot Cuzzillo <[EMAIL PROTECTED]> wrote:
I would very much like to know what I'm doing wrong, so that I can finally call a Scheme function from C. I also think it would be good to add an example of this to the wiki, because, unless I am being very stupid, it is not completely obvious how to do this.
I think the problem here is that you are mixing repeated uses of `return-to-host' and callbacks. They use the same mechanism, but in different modes. I recommend to run `return-to-host' only once (this will return from CHICKEN_run) and then to use callbacks exclusively. The documentation needs some work in that regard, as you correctly point out. I will try to improve it. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
