From 41a558998dfadf1b10fcb6d7ebc7cc82f49b15ef Mon Sep 17 00:00:00 2001 From: John Lenz Date: Thu, 4 Nov 2004 01:02:21 +0000 Subject: [PATCH] Switch Guile module to use -scm as default instead of -gh. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6650 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 4 ++++ README | 2 ++ Source/Modules/guile.cxx | 6 +++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES.current b/CHANGES.current index 6882322f4..44ca2f6e6 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,10 @@ Version 1.3.23 (November 6, 2004) ================================= +10/3/2004: wuzzeb (John Lenz) + [GUILE] The -scm interface is now the default. The old GH interface can + still be enabled by passing -gh to SWIG. + 10/2/2004: mmatus - More fixes for namespace + class declarations. diff --git a/README b/README index 9a1e03fca..88f53fccd 100644 --- a/README +++ b/README @@ -82,6 +82,8 @@ SWIG-1.3.23 summary: - Overloaded templated function support added - More powerful default typemaps (mixed default typemaps) - Some important %feature, %extend and director code bug fixes +- Guile now defaults to using SCM API. The old interface can be obtained by + the -gh option. - Various minor improvements and bug fixes for C#, Chicken, Guile, Java, MzScheme, Perl, Python and Ruby diff --git a/Source/Modules/guile.cxx b/Source/Modules/guile.cxx index 1f00bd659..a746f4b97 100644 --- a/Source/Modules/guile.cxx +++ b/Source/Modules/guile.cxx @@ -55,8 +55,8 @@ Guile Options (available with -guile)\n\ modules.\n\ -scmstub - Output Scheme file with module declaration and\n\ exports; only with `passive' and `simple' linkage\n\ - -gh - Use the gh_ Guile API. (Guile <= 1.8, default) \n\ - -scm - Use the scm Guile API. (Guile >= 1.6) \n\ + -gh - Use the gh_ Guile API. (Guile <= 1.8) \n\ + -scm - Use the scm Guile API. (Guile >= 1.6, default) \n\ -proxy - Export GOOPS class definitions\n\ -emitslotaccessors - Emit accessor methods for all GOOPS slots\n" "\ -primsuffix - Name appended to primitive module when exporting\n\ @@ -109,7 +109,7 @@ static String *return_multi_doc = 0; static String *exported_symbols = 0; -static int use_scm_interface = 0; +static int use_scm_interface = 1; static int exporting_destructor = 0; static String *swigtype_ptr = 0;