Commit graph

331 commits

Author SHA1 Message Date
Dave Beazley
a8529d54f7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-13 17:41:14 +00:00
Dave Beazley
a49f8fef5f Added purify patches reported by Ram Bhamidipaty
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-13 17:25:53 +00:00
Dave Beazley
121ef2a1a6 Bumped version number
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-13 17:25:11 +00:00
Ian Cooke
b01791f43e Added Source/Swithe/Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-09 22:17:09 +00:00
Harco de Hilster
75f7e7b2ce added a typemap example for java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-06 11:56:10 +00:00
Harco de Hilster
94119a92bb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-06 10:15:38 +00:00
Harco de Hilster
1594189ea9 String x = "";, dumps core now in the destructor, changed to String x;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:07:28 +00:00
Harco de Hilster
c28fa00d6a added java support in the GIFPlot example
some minor changes where needed in the interface file


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:05:55 +00:00
Harco de Hilster
85819c812c added example of mixing hand written jni code with swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:03:27 +00:00
Harco de Hilster
cd8438bb71 added configure support for java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 15:36:29 +00:00
Thien-Thi Nguyen
b6198ffe09 (emit_linkage): Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 07:08:07 +00:00
Thien-Thi Nguyen
3cd435c3f5 (GUILE::parse_args): Fix OBOE w/ `orig_len'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 07:04:28 +00:00
Thien-Thi Nguyen
e05f5cda99 (emit_linkage): Fix bug: Use "PATH TO MOD" instead of
"PATH/TO/MOD" for hobbit linkage.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-04 02:52:40 +00:00
Thien-Thi Nguyen
485c3591f2 (GUILE::guile_path): Delete this unused var.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-04 02:47:37 +00:00
Thien-Thi Nguyen
e61c7b84a0 New entry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-04 02:29:55 +00:00
Thien-Thi Nguyen
ae507a5600 (INCLUDE): Also include ../Include in build dir.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-04 01:12:07 +00:00
Thien-Thi Nguyen
8aa10ce3ea (LIB_DIR): Delete unused var.
(BIN_DIR): Use `@bindir@'.

(MKINSTDIRS): New var.

(INSTALL, INSTALL_DATA, INSTALL_PROGRAM, install-main,
install-lib): Rewrite to support non-local build.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-04 01:11:19 +00:00
Thien-Thi Nguyen
fad2915e36 Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-04 00:13:31 +00:00
Thien-Thi Nguyen
c7112656b8 (INCLUDE): Also include . in build dir.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:17:17 +00:00
Thien-Thi Nguyen
851763dfb2 (install): Look in `srcdir' for doh.h.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:11:19 +00:00
Thien-Thi Nguyen
95035a8431 (INCLUDE): Also include ../Include build dir.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:07:39 +00:00
Thien-Thi Nguyen
5ee62e2b24 Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 23:58:03 +00:00
Thien-Thi Nguyen
cd47f52031 (guile_usage): Move warning to end where it's more prominent.
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
2000-03-02 23:35:48 +00:00
Thien-Thi Nguyen
c1a67822cb Also handle `char *' for both input and output sets.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 22:49:36 +00:00
Thien-Thi Nguyen
8063d4d12e (GSWIG_scm2str): New func.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 22:49:10 +00:00
Dave Beazley
ef2d1f1d89 Added linkage variable as an int. This is a wild-guess
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 03:28:52 +00:00
Thien-Thi Nguyen
c553b7a53f Remove rejected merge frags and surrounding `TTN_NEW_CODE' tags.
(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
2000-03-02 02:01:54 +00:00
Dave Beazley
2ea292d04e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 01:57:49 +00:00
Thien-Thi Nguyen
e92482e4d9 Extend map sets so as to be able to handle varin' and varout'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 01:12:44 +00:00
Thien-Thi Nguyen
5d69851da6 Simplify; remove INPUT-, OUTPUT- and BOTH-related maps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 23:47:35 +00:00
Dave Beazley
20660a454f 1.3a2 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 22:58:48 +00:00
Dave Beazley
321002a81f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 22:06:39 +00:00
Dave Beazley
0f955ff9ad *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 21:13:19 +00:00
Dave Beazley
9e17d51a3e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 20:56:45 +00:00
Dave Beazley
aff495252c Fixed bug in nested classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 20:20:22 +00:00
Dave Beazley
6711f81400 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 21:31:50 +00:00
Dave Beazley
c7e8faee1a Removed 'mutable'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 21:03:57 +00:00
Dave Beazley
6a00003334 Upgraded to Alpha 2.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:56:24 +00:00
Dave Beazley
b2309afd8b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:34:22 +00:00
Dave Beazley
516642fe6a Added java install.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:31:50 +00:00
Dave Beazley
19762ec9fe Added DOH
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:28:23 +00:00
Dave Beazley
3ff9b8fac0 Added DohGetVoid() and DohSetVoid()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:19:46 +00:00
Dave Beazley
5f7aeb4201 Slight changes to parameter lists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:19:25 +00:00
Dave Beazley
c6900069a7 Added object destruction patch (provided by karl forner).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 17:38:35 +00:00
Dave Beazley
b0b2421638 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 17:38:15 +00:00
Thien-Thi Nguyen
1879ed6362 (GUILE_CONFIG, GUILEINCLUDE, GUILELIB, GUILELINK): New vars, substituted.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 02:30:46 +00:00
Thien-Thi Nguyen
491169733a (ROOT_DIR): Don't set this unused var.
Copy install-sh to subdir Examples if needed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 01:45:49 +00:00
Thien-Thi Nguyen
1dd1a8a5b3 Assign copyright to Matthias Koeppe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 23:22:03 +00:00
Dave Beazley
b363cd0a82 Removed dependency on the Hash object
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 22:56:02 +00:00
Dave Beazley
b1f0a87a70 Oops.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 18:23:39 +00:00