Commit graph

34 commits

Author SHA1 Message Date
Thien-Thi Nguyen
ea65307e2c {Incorporate support contributed by Clark McGrew.}
(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@257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-24 18:44:03 +00:00
Thien-Thi Nguyen
71fac9147a {Incorporate support contributed by Clark McGrew.}
(prefix, package): New data members.
(get_pointer): Take additional arg `WrapperFunction&'.
(usage_var, usage_func, usage_const): Last arg now `String&'.
(usage_returns): New func.

(GUILE): Move definition into guile.cxx.
(parse_args, parse, create_function, link_variable,
declare_const, initialize, headers, close, set_module,
set_init, create_command): Don't declare these virtual.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-24 18:24:07 +00:00
Dave Beazley
b198b70c5a Performance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:59:37 +00:00
Dave Beazley
824a5e9b02 More performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:55:33 +00:00
Dave Beazley
53c1d332e4 Another stupid bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 23:06:38 +00:00
Dave Beazley
6c52dd668b Optimizations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 19:32:45 +00:00
Dave Beazley
e52a46d271 Minor fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:48:20 +00:00
Dave Beazley
59a1fe6847 Minor bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:47:56 +00:00
Dave Beazley
9c0653c9b7 Slight change to type-handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:43 +00:00
Dave Beazley
9ac20f4190 Fixed some problems with constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:31 +00:00
Dave Beazley
34ed03f10b Removed the documentation system. A lot of cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 19:41:28 +00:00
Dave Beazley
890e6f131c Minor cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 15:06:19 +00:00
Dave Beazley
cad299389b Completed Tcl global variable linking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-08 23:03:16 +00:00
Dave Beazley
f09c6b0d37 Changed code-generation for constants to use a table instead of repeated function
calls in the initialization function.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 17:20:57 +00:00
Dave Beazley
e48b0c0d5b Minor fixes to type handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:26:38 +00:00
Dave Beazley
6ac18b4b64 Work on Tcl global variable support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 23:36:49 +00:00
Dave Beazley
50593ab737 Fixed slight bug with type-checker in Python module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 16:43:13 +00:00
Dave Beazley
2d6e071d20 Performance enhancements to Python module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 07:02:42 +00:00
Dave Beazley
078fffaada Minor changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:36:31 +00:00
Dave Beazley
b6caf1fb9f Upgraded to use new pointer type-checking scheme.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:28:54 +00:00
Dave Beazley
75e5f3aefe Back to simple makefiles (at least for now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 22:24:39 +00:00
Loic Dachary
dec379b314 Conditionaly compile experimental code with --enable-experiment
configure flag.
  Fix .cvsignore to ignore configrue & yacc generated files


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-30 15:39:55 +00:00
Dave Beazley
653770f984 Cleaned up the makefiles, fixed a few build problems, removed YACC-generated files from the repository
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 14:44:27 +00:00
Loic Dachary
5be3d9e104 1/28/00 : loic
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@164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:06:10 +00:00
Dustin Mitchell
4d6f8c3326 Big changes. The makefiles now recurse correctly, and targets (e.g.
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@148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:43:13 +00:00
Dave Beazley
4dda9f6ce3 Renaming
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-18 21:54:05 +00:00
Dave Beazley
95ab6fdd13 Added Dieter Baron's patch for optional arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@80 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 16:35:44 +00:00
Loic Dachary
f96f0170f2 Source/Modules1.1/java.cxx: fixed char* -> const char* warnings that are
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@76 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 15:13:59 +00:00
Dave Beazley
a6dd49b378 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@73 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 23:49:22 +00:00
Dave Beazley
99b646f6b3 Added Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@64 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 17:33:21 +00:00
Dave Beazley
cb674c4af8 Removed latex
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@59 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 05:00:08 +00:00
Dave Beazley
5eb2509295 Added cvstags
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@54 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 04:09:03 +00:00
Dustin Mitchell
43be9fc101 Moved Makefiles and configure.in to the top level, and added .cvsignore
files to most subdirectories to make things a bit cleaner.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@37 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 20:51:24 +00:00
Dave Beazley
959b2f9692 First checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@34 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 20:08:25 +00:00