[plt-scheme] scheme_close_managed
At Wed, 27 Jun 2007 15:27:12 -0500, Chongkai Zhu wrote:
> scheme_add_managed( NULL, ret, &f_close, NULL, 1);
scheme_add_managed() returns a Scheme_Custodian_Reference* that you
should keep...
> scheme_remove_managed( NULL, argv[0]);
and pass as the first argument to scheme_remove_managed().
The docs are not clear on this; they say that you can pass NULL to
scheme_removed_managed(), but the documentation does not say what NULL
means. In fact, NULL means "do nothing".
Matthew