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
William S Fulton
19daf19bfa
%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/SWIG@4361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:58:37 +00:00
William S Fulton
3c6a4d6f6a
Extended test by adding in trailing comma to enum list
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:56:45 +00:00
William S Fulton
d148fc5669
%javaconst(1) for enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:55:44 +00:00
William S Fulton
d2a03a3d68
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:54:13 +00:00
William S Fulton
23173f25f1
Makefile no longer used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 21:25:05 +00:00
William S Fulton
d34a28d90a
CCSHARED used for compiling the GIFPlot library files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 21:22:55 +00:00
William S Fulton
4acbe2681d
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/SWIG@4355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 20:30:04 +00:00
Logan Johnson
11430139f5
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/SWIG@4354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 20:17:47 +00:00
Tiger Feng
fb758a0242
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:37 +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
2c3600660b
Added HP TRYLINKINGWITHCXX patch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:43:55 +00:00
Dave Beazley
c4cc62ed46
Removed some unused variable warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +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
Luigi Ballabio
2c29e8ea58
Fixed typecheck for bools
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00
Dave Beazley
3276b287b3
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:41:00 +00:00
Dave Beazley
8d3b7440f7
Fixed [ 689040 ] Missing return value in std_vector.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:40:12 +00:00
Dave Beazley
66b17a8538
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:27:03 +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
Dave Beazley
df9d00e60d
new tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:25:31 +00:00
William S Fulton
c775a83888
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:30:34 +00:00
William S Fulton
b997659964
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:23:49 +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
Logan Johnson
41d8ef047a
Correct documentation for SWIG_ConvertPtr() in the Ruby section of the
...
SWIG Manual.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 18:27:04 +00:00
Luigi Ballabio
a39aa898f0
Missing typecheck for bool passed as value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:54 +00:00
Luigi Ballabio
dc309054dd
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/SWIG@4337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:13 +00:00
Jonah Beckford
63beb5b38a
How did this ever get in here?
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:10:16 +00:00
Jonah Beckford
27a2eec3d8
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/SWIG@4335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:08:40 +00:00
Jonah Beckford
975fddd474
No longer needed since depends on Examples/Makefile.in
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:06:22 +00:00
Jonah Beckford
18ac7f65c9
Got rid of CHICKEN example Makefile.in -> Makefile.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 08:00:58 +00:00
Jonah Beckford
26d61349c1
Got rid of vtk description as it is gone, and added zlib description.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 07:59:41 +00:00
Jonah Beckford
5ba1ebe3c5
Initial addition, to get rid of dependence on configure.in
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 07:57:49 +00:00
Jonah Beckford
99fede4c84
Added compile and cxxcompile targets.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-17 07:55:46 +00:00
Tiger Feng
cfb5ae908f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:08:03 +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
88b15ce253
corrections for std::string.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:32:40 +00:00
Art Yerkes
5b0895e0d8
std::string and std::wstring example.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:32:08 +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
Art Yerkes
3a6a6d6a70
Added needed files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:37:15 +00:00
Art Yerkes
8015067a00
Now uses $(CXX) in ocamlc for the C++ compiler (needed when using STL).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:35:15 +00:00
Art Yerkes
d69f24e750
typecheck: Foolish omission of break;
...
mlheading and mliheading: added make_x and get_x accessor and constructor
functions for C_xxx types. This makes the system a bit more accomodating.
ocaml.swg: Corrected one SWIGSTATIC
std_vector.i: First shot at a working implementation (with example).
typemaps.i: Correction to handling of SWIGTYPE ...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:29:34 +00:00
Jonah Beckford
8b60698a11
Let 'make check-examples' and 'make check-gifplot' work correctly for CHICKEN.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 03:17:15 +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
d03f4a7db7
Defined SWIG_exception for for CHICKEN.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:59:47 +00:00
Jonah Beckford
0fb0009f66
Added chicken to list of example directories.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:58:36 +00:00