From 2fd0d3f570d083f325a06f7f8cdd0f61a50d0d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6ppe?= Date: Tue, 29 Aug 2000 08:50:34 +0000 Subject: [PATCH] Added configuration file for Guile. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@713 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/guile/guile.i | 7 +++++++ Source/Modules1.1/guile.cxx | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 Lib/guile/guile.i 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"); } // --------------------------------------------------------------------