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
33f4db169f
More VC++ noise
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:07:32 +00:00
William S Fulton
ef5cfc0c07
Function call fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:02:00 +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
dd74b7ea59
Extremely scary template patch to fix Luigi's partial specialization argument handling bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 17:44:28 +00:00
Dave Beazley
cdce67d492
Fixed arrayref.i test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:37:41 +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
Dave Beazley
ffac9f8b43
Added Patch [ 623258 ] GCC-style vararg macro support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 01:36:51 +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
b9b0e97a15
Fixed [ 605162 ] Typemap local variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:46 +00:00
Dave Beazley
6592e9d64e
Refinement of noquote string replace to fix
...
[ 605162 ] Typemap local variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:35 +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
2579240289
enumvalue attribute always has a value now. If there is no explicit value set
...
in the code being wrapped, then a value is constructed which is
1+ the previous enum value. For example:
enum numbers { zero, one, seven=7, eight};
has enumvalue attributes of '0', 'zero+1', '7' and 'seven+1'
Based on patch by Heiner Petith.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:06:10 +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
Tiger Feng
5e4c3b8611
modified -fcompact feature to deal with PP lines
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:29 +00:00
Dave Beazley
a6390f2d45
Fixed missing line break in %except warning message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 13:51:38 +00:00
Dave Beazley
e7c56d083a
Fixed Luigi's template+%extend magic trick.
...
Marcelo should verify that his codes still work... ;-).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:26:51 +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
Dave Beazley
c7e970d87a
Fixed explicit instantiation syntax error.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-12 17:18:35 +00:00
Dave Beazley
13f4ac3e84
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-12 17:11:42 +00:00
Dave Beazley
118ae4d9ba
More fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:31:54 +00:00
Dave Beazley
c320b09704
String replacement enhancements to help with preprocessor fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:31:41 +00:00
Dave Beazley
6229554cf3
Further refinements of macro argument handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 03:51:33 +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
50e3d7c929
Add -compact option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 17:17:14 +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
a17049fe0d
Fixed [ 663632 ] incompatibility with standard cpp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 21:17:40 +00:00
Dave Beazley
d0037d9ef4
Fixed [ 675491 ] parse error with global namespace qualification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-06 16:57:32 +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
Dave Beazley
37d8bc265b
Added support for the unary plus operator in expressions.
...
Amazingly, this never seems to be have been added to SWIG
before ;-).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-31 17:28:51 +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