Art Yerkes
b8490f9c18
Added to typemaps: reference type in/out
...
Strings <=> std::string by value
std::wstring accessible from Ocaml. The string example converts a multibyte
japanese EUC sequence to a single wchar_t sequence if you have the ja_JP.EUC-JP
locale, or similar.
Better handling of reference in types
Corrected problems with & * mismatch in type verifier.
Type verifier now really functional. No more type errors in places they
wouldn't be allowed in C++, unless you work at it.
Added argout_ref example for argout_ref.
Init code now effective (called from let _ = f_<module>_init ())
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 07:09:12 +00:00
Jonah Beckford
cfe7be1eed
Changed module technique from <module_name>- to <module_name>: which
...
conforms with chicken "egg" standard. Got rid of ##csi#run for
relinking the Scheme interpreter as no longer needed. Changed all
documentation to reflect both changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 02:00:15 +00:00
William S Fulton
77e7ad2bf7
Fix for Visual C++ which doesn't scope variable declarations in a for() correctly.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:01:04 +00:00
William S Fulton
483024c206
Fixes for compiler warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 21:59:34 +00:00
Dave Beazley
8ab03e95ec
Fixed [ 642112 ] Constants char bug
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 19:13:28 +00:00
Dave Beazley
4efcd34b17
Fixed abstract_typedef2.i test (apparently).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:08:49 +00:00
Dave Beazley
35a7d553a3
Experimental patch for abstract methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 03:26:01 +00:00
William S Fulton
8cbbba1a85
Fix so that enum typemaps are used when wrapping an enum declaration.
...
[Enum typemaps still not 100% as 'enum' must always be declared with the type for the typemap.]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:17:58 +00:00
Klaus Wiederänders
076e127226
deprecated -xml output.xml
...
use -o instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-22 09:16:13 +00:00
Tiger Feng
f8425a6e6d
csharp module commented.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:39:06 +00:00
Tiger Feng
4721789c66
csharp module added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:34:52 +00:00
Tiger Feng
876f9fa094
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 19:39:27 +00:00
Tiger Feng
e85e1654b1
Fixed problem with typedef with -fvirtual
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 20:49:26 +00:00
Dave Beazley
9b01ff49b0
Fixed Marcelo's abstract_typedef test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:38:13 +00:00
William S Fulton
3cf6341bfa
%javaconst(1) feature for enums so that using enum values do not have to make a JNI call.
...
Based on patch by Heiner Petith.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:00:22 +00:00
William S Fulton
55d3b5dcca
Improved support for native Windows compilers.
...
It is no longer necessary to explicitly export the SWIG_init DLL function by passing flags to the linker.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:18:54 +00:00
Tiger Feng
b4934f5b70
-fcompact
...
-fvirtual
-small
SWIG_FEATURES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:07:57 +00:00
Tiger Feng
6d2625757f
-fvirtual
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:07:16 +00:00
Art Yerkes
ee62653474
Also normalize reference type as well as pointer type.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:33:04 +00:00
Art Yerkes
148177ddd6
Normalize class names that have template components. This allows the
...
simple scheme I use for templating to work (at least in the test cases
so far). I probably need to come up with a better scheme for associating
the class closure creator with the typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:40:42 +00:00
Jonah Beckford
1f7c52d5a1
Add CHICKEN code to the things that need to be built.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 02:04:40 +00:00
Jonah Beckford
28acc3cfbc
Allow number of arguments replacement when overloading.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 02:01:29 +00:00
Jonah Beckford
6db1c5465c
Initial addition.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:41:16 +00:00
William S Fulton
4890710cde
Patch submitted by F. Postma for compiling on HP
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:19:03 +00:00
Tiger Feng
3c24839e26
Added -compact option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 17:13:02 +00:00
Dave Beazley
73f568f568
varargs patch. Critical that we check all of the language modules to make sure they still work.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 16:16:12 +00:00
Logan Johnson
3d7c70137b
Yet more refactoring in the Ruby module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:18:57 +00:00
Logan Johnson
a77bc8c3e1
Moved the code for defining Ruby method aliases out into a separate function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:07:20 +00:00
Logan Johnson
8afc2083b9
Moved module initialization code for defining Ruby module(s) out into
...
a separate function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:03:47 +00:00
Luigi Ballabio
ba50b7bf86
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-22 08:11:51 +00:00
Thien-Thi Nguyen
25c8a3d592
(Xml_print_attributes): Do "&" replacement
...
before any others that might introduce "&" into
the stream.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-08 12:19:28 +00:00
William S Fulton
6d99943262
Makefile.in files replaced by single Makefile.am
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-23 23:07:01 +00:00
Logan Johnson
01533f8c6e
Corrected overloading-related coding in PIKE::dispatchFunction().
...
Corrected all references to 'sp' to 'Pike_sp'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-20 17:27:14 +00:00
Logan Johnson
b74acb56f5
Added missing #include of "swigconfig.h" to Source/Modules/browser.cxx,
...
needed for PACKAGE_VERSION macro definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-20 16:27:16 +00:00
William S Fulton
01033bcdf3
Modifications to work on MacOS, submitted by Bernard Desgraupes.
...
Mainly ensuring the files are output in the appropriate directory.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-16 21:20:53 +00:00
William S Fulton
d489112eb9
Version simplification.
...
'swig -ldflags' added for MzScheme, Ocaml, Pike and PHP
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:39:28 +00:00
William S Fulton
61222fc55b
Fixed subtle bug where 'make prefix=/somewhere; make clean; make prefix=/somwhere/else' produced an executable using the incorrect library directories.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:37:05 +00:00
William S Fulton
99af068243
Simplification of version string. Use autoconf's PACKAGE_VERSION instead.
...
Fixed subtle bug where 'make prefix=/somewhere; make clean; make prefix=/somwhere/else' produced an executable using the incorrect library directories.
Bug fix in reporting compiler used to compile SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:36:03 +00:00
William S Fulton
15570fa498
Version simplification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:33:00 +00:00
Dave Beazley
7681defce7
Removed DOH/Include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-06 20:26:55 +00:00
Dave Beazley
2763445c81
Fixed [ 649022 ] Compilation problems with KAI/KCC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-06 20:10:56 +00:00
Dave Beazley
ba70422640
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:36:14 +00:00
Dave Beazley
74a3aa015c
File move
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:33:35 +00:00
Dave Beazley
b0941de80a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-01 20:45:43 +00:00
Dave Beazley
c935b71cfa
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-20 03:58:04 +00:00
Dave Beazley
d66f561cfc
Modifications to the module system
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-19 04:38:06 +00:00
Dave Beazley
c15d662964
Bug fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-18 02:56:05 +00:00
Dave Beazley
3ee7a76ef0
Added dynamic module loading
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-04 03:37:52 +00:00
Dave Beazley
28127aa9be
Substantial changes for new module system.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:04:25 +00:00
Dave Beazley
ee4856e064
Minor stuff
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-26 21:34:11 +00:00