[plt-scheme] C interface and inspectors

From: Dmitriy.Zavin at infineon.com (Dmitriy.Zavin at infineon.com)
Date: Wed Aug 11 23:02:16 EDT 2004

Sweet. Thanks. Works like a charm.

--Dima


 >> 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
 >
 >


Posted on the users mailing list.