[plt-scheme] C interface and inspectors
At Wed, 11 Aug 2004 12:05:29 -0700, Dmitriy.Zavin at infineon.com wrote:
> The problem I am having is how to supply a new
> inspector to the struct when I am creating it. make_inspector() (as seen
> in comment) (from src/struct.c) doesn't have a prototype in scheme.h,
> and is not a dynamic symbol so my module refuses to load; which leads to
> my question. Is there a reason why make_inspector() should/could not be
> called from an outside module that will be loaded into mzscheme?
No reason. I've added scheme_make_inspector() to the export list for
future versions.
Meanwhile, use something like
_scheme_apply(scheme_builtin_value("make-inspector"), 0, NULL)
Matthew