diff --git a/Lib/guile/guile.i b/Lib/guile/guile.i new file mode 100644 index 000000000..a90cbf416 --- /dev/null +++ b/Lib/guile/guile.i @@ -0,0 +1,7 @@ +/* SWIG Configuration File for Guile. + This file is parsed by SWIG before reading any other interface + file. */ + +/* Read in standard typemaps. */ +%include "typemaps.i" + diff --git a/Source/Modules1.1/guile.cxx b/Source/Modules1.1/guile.cxx index b82877e83..1184d8e7b 100644 --- a/Source/Modules1.1/guile.cxx +++ b/Source/Modules1.1/guile.cxx @@ -147,9 +147,10 @@ GUILE::parse_args (int argc, char *argv[]) } /* Add a symbol for this module */ - Preprocessor_define ((void *) "SWIGGUILE",0); + /* Read in default typemaps */ + SWIG_config_file("guile.i"); } // --------------------------------------------------------------------