William S Fulton
1ed50b305b
Support for %javaconstvalue added (better compile time constants)
...
Support for %feature("except", throws="ExceptionClass") so that any Java exception classes thrown from JNI code can be added to the throws list - handled in the same way as the 'throws' attribute in typemaps -
macros added for this - %javaexception and %nojavaexception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:02:38 +00:00
William S Fulton
4267e2d4d5
Fix for directorin char[ANY] typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:09:33 +00:00
William S Fulton
ebfd496ff5
javagetcptr typemap replaced by the javabody typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:27:09 +00:00
William S Fulton
0b87a86919
javagetcptr and javaptrconstructormodifiers typemap replaced by the javabody/javabody_derived typemap
...
javaclassmodifiers typemap now contains the class type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:26:27 +00:00
William S Fulton
ca9959d2cd
various tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:46 +00:00
William S Fulton
bf02521653
various tweaks
...
toString() method support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:21:49 +00:00
William S Fulton
a48bcfceef
duplicate typemaps removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:18:04 +00:00
William S Fulton
fac3662444
array throws typemap added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 08:01:25 +00:00
William S Fulton
796b934b8a
Added SWIGTYPE & and SWIGTYPE * typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:08:22 +00:00
William S Fulton
e7777f2adb
Enum typemaps taken out of java.swg
...
New typemap files for the different C/C++ to Java enum wrapping approaches.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:09:17 +00:00
William S Fulton
a24ecbb1a5
JVM link failure on some systems fixed when using std_vector.i.
...
Also adds default vector constructor for use from Java.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:46:13 +00:00
William S Fulton
208386909b
example correction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 21:24:46 +00:00
Marcelo Matus
3c53a4771a
fixed the *::clone() warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-13 01:38:45 +00:00
Dave Beazley
b459405a64
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 03:41:33 +00:00
William S Fulton
6b3f076018
Removed default %javamethodmodifiers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:17:58 +00:00
Marcelo Matus
f49892c448
using code 315 for bad names only
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 07:15:00 +00:00
Marcelo Matus
f790c57f5d
Forgot #undefs, add python bad names, change names from
...
tclkw.swg and phpkw.swg to the right ones tcl8kw.swg and php8kw.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 06:15:46 +00:00
Marcelo Matus
ea0f636eae
- Uniform the definition of the keyword warnings through
...
the supported languages.
- Added keyword list for most of the languages that didn't
have one.
- "All keywords" warning support, through the -DSWIG_ALLKW
option.
Read the Changes.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 02:23:52 +00:00
William S Fulton
a6f5837d17
Corrected SWIG_JavaThrowException to be static
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 21:54:59 +00:00
William S Fulton
9d0e20d4df
Put STRING_OUT typemaps back in.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:02:03 +00:00
William S Fulton
80cd6fa68a
Fix for INOUT and OUTPUT typemaps for when the JNI type is bigger than the c type.
...
For example unsigned long (32bits) is mapped to jlong (64bits)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:29:54 +00:00
William S Fulton
09ede20459
Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:37 +00:00
William S Fulton
1d279ae267
#849064 fixed. Any classes with a non public destructor now have a public delete() method which throw a runtime exception. The delete() method was previously protected.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:13:08 +00:00
Luigi Ballabio
09ec4edb93
Char and unsigned-char specialization added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
329bd4f1c4
Contract assert macro added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:31:50 +00:00
William S Fulton
9b25a498ab
ricochet exception removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:13:04 +00:00
William S Fulton
3c4c47cbea
Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +00:00
William S Fulton
05d2ab63eb
JNI descriptor attribute in directorin typemap called descriptor instead of parse now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:20:07 +00:00
William S Fulton
c108055784
Director tweaks from Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:40:49 +00:00
William S Fulton
9ecbd6f614
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
...
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:55:17 +00:00
William S Fulton
f569dd135d
__DIRECTOR__ renamed Swig::Director
...
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
69d79e0674
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
7d04ec7439
directorin typemap renamed javadirectorin
...
directorout typemap renamed javadirectorout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:13:19 +00:00
William S Fulton
6e052aeb1d
First round of director mods
...
- Removed asserts
- The unused __DIRECTOR__ base class default constructor removed. I've used the conventional approach of having no default constructor rather than a private one (declaring it private doesn't serve any useful purpose when this constructor is not wanted).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +00:00
William S Fulton
e09ec943f5
Various director fixes submitted by Scott Michel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:19:47 +00:00
William S Fulton
1dfcbeda97
char * fix for directors (from Scott Michel)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:19:01 +00:00
William S Fulton
4b16ce4355
More director changes from Scott Michel - no more director code in normal wrappers plus other changes for classes in an inheritance chain
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:47:37 +00:00
William S Fulton
2dd28752dc
Minor director fixes from Scott Michel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:37:25 +00:00
William S Fulton
ef6254e816
Missing assert.h for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:27:31 +00:00
William S Fulton
029cd11a67
Directors implementation contributed by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:12:20 +00:00
William S Fulton
ba028fde8a
Reworked std::string typemaps.
...
Fixes various string in std namespace problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 12:42:09 +00:00
William S Fulton
57e37945ec
vector<std::string> specialization added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 09:55:49 +00:00
Luigi Ballabio
10138e60b9
Typemap for size_t applied to std::size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Luigi Ballabio
8c35d20048
std::pair added (but not very much tested)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +00:00
William S Fulton
b03c08d211
New typemap attribute which specifies the destructor wrapper method name thus making the wrapper method name configurable.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:52:26 +00:00
William S Fulton
01b89c2446
Few more JCALLx macros
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-13 08:27:33 +00:00
William S Fulton
6dcd1966d0
protected/private destructors fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:47:24 +00:00
William S Fulton
fb2113a8c5
Corrected comment on the type typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:30:17 +00:00
William S Fulton
9352654318
New typemaps: javadestruct_base and javadestruct_derived
...
for the C++ destructor wrapper. The _base version gets used by
classes at the top of an inheritance chain and the _derived
version gets used by other classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:40:26 +00:00
William S Fulton
00a4f2ee32
Removed globalin and memberin typemaps for dimensionless arrays
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:54:53 +00:00