William S Fulton
9316c04deb
Corrected usage of $javaclassname special variables in director typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-30 20:10:44 +00:00
William S Fulton
b8d5ea651d
const enum SWIGTYPE & typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:16:24 +00:00
William S Fulton
a87c96ec8e
size_t fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:12:01 +00:00
William S Fulton
5966a5b275
a few missing typemaps added - exposed by the new mixed default typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:30:23 +00:00
William S Fulton
e41405de6b
minor corrections
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:54:35 +00:00
William S Fulton
310e2f9db3
wstring directorin typemap fixes from Russell Keith-Magee
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:58:36 +00:00
William S Fulton
09ed1c1471
Scott Michel patch #1049496 to fix typesafe and proper Java enums with directors.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:12:36 +00:00
William S Fulton
85b1bcfc47
removed redundant valuewrapper feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
5a4369fd11
avoid to use SwigValueWrapper with std::string, just to keep the code cleaner and familiar
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +00:00
Marcelo Matus
d84772ce6f
fix #if __cplusplus problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
William S Fulton
b0f52ade93
Added and empty freearg typemap so that the signed char* typemaps can be aplied to char*.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-22 20:30:06 +00:00
William S Fulton
de4c1d3322
Various warning fixes for Visual Studio 2003 C++ compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:24:24 +00:00
William S Fulton
89fa119661
char * and char[] and char[ANY] typemaps tidyup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:35:30 +00:00
William S Fulton
d86b421950
Prevent memory leaks in the case of early return from wrapper methods using const std::string & parameters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 20:57:51 +00:00
William S Fulton
d6f5100b73
throws typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-23 21:53:04 +00:00
William S Fulton
a56015224b
director enum fixes from Scott Michel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:51:51 +00:00
William S Fulton
8a7d12435e
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/SWIG@6001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:02:38 +00:00
William S Fulton
52d0d774ab
Fix for directorin char[ANY] typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:09:33 +00:00
William S Fulton
2a37bb5d27
javagetcptr typemap replaced by the javabody typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:27:09 +00:00
William S Fulton
f1090f5a5c
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/SWIG@5965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:26:27 +00:00
William S Fulton
c471f1ed46
various tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:46 +00:00
William S Fulton
bdbbef48a8
various tweaks
...
toString() method support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:21:49 +00:00
William S Fulton
92fd36fc00
duplicate typemaps removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:18:04 +00:00
William S Fulton
0e84a1da9c
array throws typemap added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 08:01:25 +00:00
William S Fulton
826afba4d8
Added SWIGTYPE & and SWIGTYPE * typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:08:22 +00:00
William S Fulton
990156dff1
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/SWIG@5921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:09:17 +00:00
William S Fulton
17e443899d
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/SWIG@5915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:46:13 +00:00
William S Fulton
0f9eff6b62
example correction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 21:24:46 +00:00
Marcelo Matus
e5ee4d1ac7
fixed the *::clone() warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-13 01:38:45 +00:00
Dave Beazley
541803fdf9
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-16 03:41:33 +00:00
William S Fulton
f75d7cd856
Removed default %javamethodmodifiers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:17:58 +00:00
Marcelo Matus
720993e41f
using code 315 for bad names only
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 07:15:00 +00:00
Marcelo Matus
8e8e0ce6e8
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/SWIG@5546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 06:15:46 +00:00
Marcelo Matus
7b8f415319
- 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/SWIG@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 02:23:52 +00:00
William S Fulton
f2625b4671
Corrected SWIG_JavaThrowException to be static
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 21:54:59 +00:00
William S Fulton
f31537e62d
Put STRING_OUT typemaps back in.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:02:03 +00:00
William S Fulton
a9396525e8
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/SWIG@5466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:29:54 +00:00
William S Fulton
1c2d0058bd
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/SWIG@5447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:37 +00:00
William S Fulton
5439863ce1
#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/SWIG@5440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:13:08 +00:00
Luigi Ballabio
5e161fa7cd
Char and unsigned-char specialization added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
31edb1fcbd
Contract assert macro added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:31:50 +00:00
William S Fulton
dbda95ae34
ricochet exception removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:13:04 +00:00
William S Fulton
4b317678e5
Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +00:00
William S Fulton
227a79d890
JNI descriptor attribute in directorin typemap called descriptor instead of parse now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:20:07 +00:00
William S Fulton
3ddde9fe70
Director tweaks from Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:40:49 +00:00
William S Fulton
f4fac221fa
- 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/SWIG@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:55:17 +00:00
William S Fulton
9da574aae9
__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/SWIG@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
7ee01311b2
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
eeca9ccf6a
directorin typemap renamed javadirectorin
...
directorout typemap renamed javadirectorout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:13:19 +00:00
William S Fulton
a7933a75b0
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/SWIG@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +00:00