[plt-scheme] x != x for module names?!

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Jan 30 09:39:52 EST 2010

At Sat, 30 Jan 2010 14:17:07 +0000, Norman Gray wrote:
> Scheme_Object *scheme_module_name(void) {
>   return scheme_make_symbol((char*)"Redland");
> }

scheme_make_symbol() creates an uninterned symbol.
Use scheme_intern_symbol().

> Incidentally, does anyone know if I have to include --xform with wrapper code 
> generated from SWIG.  My impression is not, but I can't find this confirmed 
> anywhere.

Does the SWIG-generated code include MZ_GC_DECL_REG(), etc? If so, then
you don't need --xform. If not, my guess is that you do (but I'm not
sure).



Posted on the users mailing list.