On 9/7/05, Daniel B. Faken <[EMAIL PROTECTED]> wrote:
>
> I'm calling-back *into scheme* from C, after exiting the toplevel via
> (return-to-host).
>
> But yes, when I am doing scheme->c callbacks that potentially go back to
> scheme, I'm doing safe-lambda/primitives.
>
Ok.
>
> The only thing I do is use C_save() to pass parameters to the function
> called in C_callback().
> Nothing else... I manually inserted some C_stack_check code, but they
> didn't report anything.
C_stack_check just checks for overflow, though. Perhaps you insert
some debug instructions that print the current temporary stack level
(that's a different stack than the C-stack/nursery) ("C_temporary_stack").
cheers,
felix
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users