chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] continuing callback confusion


From: felix winkelmann
Subject: Re: [Chicken-users] continuing callback confusion
Date: Wed, 17 Jan 2007 10:41:06 +0100

On 1/16/07, Elliot Cuzzillo <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]