[plt-scheme] Listing all exported symbols/structures of amodul e/extension
On Aug 30, Dmitriy.Zavin at infineon.com wrote:
> What do you suggest I should change to make it work right? I already
> submitted some mzscheme related patches, and don't mind making some
> more to get things right.
If this *is* the code you get, then there one line to change:
> > Scheme_Object *scheme_reload(Scheme_Env *env) {
> > Scheme_Env *menv = env;
Change that last line to:
Scheme_Env *menv = scheme_primitive_module(v, scheme_intern_symbol("foo"));
> > SWIG_RegisterTypes(swig_types, swig_types_initial);
> > scheme_add_global(..., menv);
> > return scheme_void;
> > }
> > Scheme_Object *scheme_initialize(Scheme_Env *env) {
> > return scheme_reload(env);
> > }
> > Scheme_Object *scheme_module_name(void) {
> > return scheme_make_symbol((char*)"foo");
> > }
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!