[plt-scheme] scheme_set_global

From: u0476504 at utah.edu (u0476504 at utah.edu)
Date: Tue Apr 18 18:45:21 EDT 2006

In a embeded mzscheme program, I need to do scheme_set_global.

Could I just use "scheme_add_global" to do this, or must I write:

scheme_set_global_bucket("name",
                         scheme_global_bucket(scheme_intern_symbol("varname"),
env),
                         s_obj, 1);

?

Or does there exists a C macro named "scheme_set_global"? Thanks.

Chongkai


Posted on the users mailing list.