Document default values. Recognize "-Linkage".
(GUILE::GUILE): Set global var `typemap_lang' here.
Change class-member `prefix' and `package' inits.
(GUILE::parse_args): Recognize "-Linkage" instead of "-linkage".
This anomoly is due to top-level parsing not respecting language-
specific options; "-linkage" aliases to "-l inkage".
Don't set global `typemap_lang'.
(emit_linkage): New func, w/ code from `GUILE::close'.
(GUILE::close): Factor out code to `emit_linkage'.
(GUILE::create_function, GUILE::link_variable,
GUILE::declare_const): Don't use `name_wrapper'.
Simplify naming to always start w/ `prefix'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
(guile_usage): Document new guile-specific option `-linkage'.
Also add warning: guile support likely to be broken.
(GUILE_LSTYLE_LTDLMOD, GUILE_LSTYLE_HOBBIT): New cpp definitions.
(GUILE::GUILE): Use empty string for default `package'.
Add initialization of `linkage'.
(GUILE::parse_args): Handle "-linkage".
(GUILE::close): Specialize generated initialization based on `linkage'.
(mreplace, throw_unhandled_guile_type_error): New static funcs.
(GUILE::create_function): Fix output formatting bug. (Thanks to
Matthias Koeppe.)
Factor out `mreplace' and `throw_unhandled_guile_type_error'.
Remove "T_*" type-handling, which is now handled by declaring
typemaps in Lib/guile/typemaps.i.
Restructure nested "if" as cascading "else if", terminating w/ error.
(GUILE::link_variable): Remove "T_*" type-handling, which is now handled
by declaring typemaps in Lib/guile/typemaps.i.
Restructure nested "if" as cascading "else if", terminating w/ error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
(guile_usage): Include new options "-module", "-prefix" and "-package".
(GUILE::GUILE): Move definition here from header file.
Init new data members.
(GUILE::parse_args): Handle new options.
(GUILE::set_init): Abort when called, for now.
(GUILE::initialize): Don't define `SWIG_init' in output.
Use computed function name directly.
(GUILE::close): Output module registration.
(GUILE::get_pointer): Use `f.code' instead of `f_wrappers'.
(GUILE::create_function): Large rewrite.
(GUILE::link_variable): Look for type `T_CHAR'
instead of status `STAT_READONLY'.
(GUILE::declare_const): Check typemap first.
(GUILE::usage_func, GUILE::usage_var, GUILE::usage_returns,
GUILE::usage_const): Rewrite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Apply automake everywhere
Keep configure scripts so that people are not *forced* to autoconf
Keep sources generated by yacc so that compilation without yacc
is possible.
Source/LParse/cscanner.c: change lyacc.h into parser.h to please
default yacc generation rules.
Use AC_CONFIG_SUBDIRS in configure.in instead of hand made script.
Update all relevant .cvsignore to include .deps
Fixed missing ; line 136 Source/Swig/swig.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
experiment, swim, swig, pymod, etc.) are passed along to sub-makes
correctly. Also, a mechanism has been devised to avoid the use of *.o
in the toplevel Makefile, as it was linking files which were not intended
for use in the final executable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
errors when compiling with gcc-2.95.2
Source/SWIG1.1/main.cxx: cast const char* to char* for String_replace
token and rep should really be const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@76 626c5289-ae23-0410-ae9c-e8d60b6d4f22