chickadee » foreign » embedding » return-to-host

return-to-hostprocedure

Exits the Scheme code and returns to the invoking context that called CHICKEN_run or CHICKEN_continue.

After return-to-host has been executed and once CHICKEN_run returns, you can invoke callbacks which have been defined with define-external.

The eval library unit also provides boilerplate callbacks, that simplify invoking Scheme code embedded in a C or C++ application: