pre-processor macros. These identifiers are now enum values
defined in guile.h.
(GUILE::initialize): Remove old-style cruft, no functional change.
(GUILE::emit_linkage): Now a member of class `GUILE'.
Handle `GUILE_LSTYLE_SIMPLE'.
(GUILE::close): Update call to `emit_linkage'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
(GUILE): Declare new data member `with_smobs' for this class.
Member method `get_pointer' now takes two additional args,
namely `String &proc_name' and `int num_scheme_parm'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
(guile_usage): Add blurb on `-with-smobs'.
(GUILE::GUILE): Init new data member.
(GUILE::parse_args): Recognize "-with-smobs".
(GUILE::headers): Rewrite.
(GUILE::initialize): In generated `SWIG_init', call `SWIG_Guile_Init'.
(emit_linkage): Fix omission bug: Generated func now returns a value.
(GUILE::close): Re-activate call to `emit_ptr_equivalence'.
(GUILE::get_pointer): Take two additional args: `proc_name'
and `num_scheme_parm'. Update callers.
Add handling when `with_smobs'.
Also generate exception-raising code.
(GUILE::create_function): Call `get_pointer' w/ proper args.
Add handling when `with_smobs'.
(GUILE::link_variable): Add handling when `with_smobs'.
Make generated error message more informative.
Also generate exception-raising code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
string representation sufficiently that it now represents cleanly
everything that the DOH object representation can. Comparison on DOH type
objects now tests only for complete equivalence of form, and should match
string comparison of string representations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
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@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@312 626c5289-ae23-0410-ae9c-e8d60b6d4f22