Commit graph

1,273 commits

Author SHA1 Message Date
William S Fulton
edba398b60 enum typemaps check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:18:39 +00:00
William S Fulton
6643be30bc 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@4380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:17:58 +00:00
Klaus Wiederänders
0a794f4b08 deprecated -xml output.xml
use -o instead


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-22 09:16:13 +00:00
Marcelo Matus
baba2c6b31 Added test that shows a problem in the 'abstract detection method' when virtual base classes are used (in different order)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 21:03:05 +00:00
Tiger Feng
6a3eb88852 csharp module commented.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:39:06 +00:00
Tiger Feng
22290a6768 csharp module added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:34:52 +00:00
Tiger Feng
c6de639fa7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 19:39:27 +00:00
Marcelo Matus
740492ee16 Now, this is a real broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 09:12:45 +00:00
Dave Beazley
db410eaf99 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 01:38:02 +00:00
Dave Beazley
4098efdea9 Added Patch [ 623258 ] GCC-style vararg macro support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 01:36:51 +00:00
Marcelo Matus
2b33f39cff Added a broken case after the abstract_typedef case was fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 21:26:20 +00:00
Tiger Feng
5521aecb6c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 20:49:30 +00:00
Tiger Feng
0c7fdcc867 Fixed problem with typedef with -fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 20:49:26 +00:00
Dave Beazley
036a2ca079 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:47:34 +00:00
Dave Beazley
7537c7e8ea Fixed [ 605162 ] Typemap local variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:46 +00:00
Dave Beazley
71748e9622 Refinement of noquote string replace to fix
[ 605162 ] Typemap local variables.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:35 +00:00
Dave Beazley
ef17d4a002 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:40:10 +00:00
Dave Beazley
67163c9cbe Fixed Marcelo's abstract_typedef test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:38:13 +00:00
William S Fulton
fb97158615 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@4363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:06:10 +00:00
William S Fulton
5f00ce7606 %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@4362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:00:22 +00:00
William S Fulton
c75bcef396 %javaconst(1) feature for enums so that using enum values do not have to make a JNI call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:58:37 +00:00
William S Fulton
1b26188b33 Extended test by adding in trailing comma to enum list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:56:45 +00:00
William S Fulton
77d6e3dd32 %javaconst(1) for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:55:44 +00:00
William S Fulton
218c82cf53 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:54:13 +00:00
William S Fulton
2cdc76e09d Makefile no longer used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 21:25:05 +00:00
William S Fulton
eaab9adb44 CCSHARED used for compiling the GIFPlot library files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 21:22:55 +00:00
William S Fulton
8daf2c32d7 Fixed patch for HP. The patch talked about in the bug report was for SWIG-1.3.17, but the OS detection has changed since then.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 20:30:04 +00:00
Logan Johnson
90c0608798 Fixed warning messages for preproc_5.i, template_extend1.i and
template_extend2.i test cases.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 20:17:47 +00:00
Tiger Feng
7a603be159 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:37 +00:00
Tiger Feng
c48043e47c modified -fcompact feature to deal with PP lines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:29 +00:00
Dave Beazley
061de53790 Added HP TRYLINKINGWITHCXX patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:43:55 +00:00
Dave Beazley
41307d05ba Removed some unused variable warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +00:00
Dave Beazley
67424ecc84 Fixed missing line break in %except warning message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 13:51:38 +00:00
Luigi Ballabio
45401fca51 Fixed typecheck for bools
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00
Dave Beazley
080b3aab36 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:41:00 +00:00
Dave Beazley
6cfc64197b Fixed [ 689040 ] Missing return value in std_vector.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:40:12 +00:00
Dave Beazley
7162f2fa7b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:27:03 +00:00
Dave Beazley
3d51ba0040 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@4344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:26:51 +00:00
Dave Beazley
3dd532f7d8 new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:25:31 +00:00
William S Fulton
d685c8a688 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:30:34 +00:00
William S Fulton
dc39d9bf89 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:23:49 +00:00
William S Fulton
44fde93b5a 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@4340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:18:54 +00:00
Logan Johnson
8549b7cbed Correct documentation for SWIG_ConvertPtr() in the Ruby section of the
SWIG Manual.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 18:27:04 +00:00
Luigi Ballabio
cd8f6737cb Missing typecheck for bool passed as value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:54 +00:00
Luigi Ballabio
524636ef1c Allow returning std::strings with embedded null characters (why one would want to do this is beyond my understanding)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:13 +00:00
Jonah Beckford
b0f8e8516c How did this ever get in here?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:10:16 +00:00
Jonah Beckford
2f30f32ab0 The CHICKEN VTK example was way too big. Will be in a seperate project.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:08:40 +00:00
Jonah Beckford
ce51c69b65 No longer needed since depends on Examples/Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:06:22 +00:00
Jonah Beckford
2da372f015 Got rid of CHICKEN example Makefile.in -> Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:00:58 +00:00
Jonah Beckford
c523a3d388 Got rid of vtk description as it is gone, and added zlib description.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 07:59:41 +00:00