William S Fulton
9883f6215a
BigInteger fixes - Bug 1398394
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 23:10:27 +00:00
William S Fulton
e0089921c2
Fix for directors - where a class returned by value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 14:09:14 +00:00
William S Fulton
36b1e5c2ac
cosmetic changes removing unnecessary brackets and empty lines in generated code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 13:58:10 +00:00
Marcelo Matus
89e7497ac6
add support for named warning codes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
William S Fulton
1917746157
Add in array reference typemaps - the recently introduced pointer reference typemaps broke array references.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 00:16:48 +00:00
William S Fulton
a87acb5aa3
Add pointer reference typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:09:16 +00:00
William S Fulton
6943996687
new $imclassname to fix bugs changing the intermediary classname
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:51:25 +00:00
William S Fulton
cfdad24993
Use the system angle brackets for %include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
William S Fulton
1986fcd8e0
Fix so that all the const primitive reference types can be applied to other types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:26:40 +00:00
Marcelo Matus
a4c0114c6a
replace bad parameter names when neccessary
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
William S Fulton
f54eeee5f3
unsigned long long director fixes (bug 1238798)
...
Also missing cvs commit for director fixes for SWIGTYPE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
William S Fulton
94e6c86d06
Fixes to remove "dereferencing type-punned pointer will break strict-aliasing rules" warnings in C wrappers when compiling C code with 'gcc -Wall -fstrict-aliasing'. Patch from Michael Cahill.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:14:35 +00:00
William S Fulton
c2e9c01ab1
Scott Michel director patch, typemap consolidation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:11:06 +00:00
William S Fulton
aa44d06e90
Consistent warning 470 across all languages
...
Fix const ref directorout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:27:53 +00:00
William S Fulton
3563de51ee
director typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:51:58 +00:00
William S Fulton
17f65da214
Modifications to the typemaps giving users fine control over memory ownership and lifetime of director classes. Patch from Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:31:31 +00:00
William S Fulton
df49ff9f1e
minor name change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:28:21 +00:00
William S Fulton
9cfc9129fd
new typemap: javaconstruct. This typemap contains the code that goes into the proxy constructor.
...
The javaconstruct_director typemap is used instead when directors are enabled.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:58:39 +00:00
William S Fulton
7da7f8a112
minor SWIGTYPE[] additions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-08 22:47:41 +00:00
William S Fulton
deaf8c681f
new directorconnect and directorconnect_derived typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:04:54 +00:00
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
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
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
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
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
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
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
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
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
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
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
8cc4a4bb95
char * fix for directors (from Scott Michel)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:19:01 +00:00
William S Fulton
173dd1cc45
Minor director fixes from Scott Michel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:37:25 +00:00
William S Fulton
c8d535b30b
Directors implementation contributed by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:12:20 +00:00
William S Fulton
a7fa8d86cc
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/SWIG@4933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:52:26 +00:00
William S Fulton
152b65e518
protected/private destructors fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:47:24 +00:00
William S Fulton
2837d84df9
Corrected comment on the type typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:30:17 +00:00
William S Fulton
9cccf88afa
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/SWIG@4876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:40:26 +00:00
William S Fulton
06267e8a55
Removed globalin and memberin typemaps for dimensionless arrays
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:54:53 +00:00
William S Fulton
558602a355
globalin and memberin typemaps for dimensionless arrays
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 13:54:59 +00:00
William S Fulton
af3ec605e9
long long typemap mods for use with %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
William S Fulton
8536ff0333
bool typemap mods for Visual C++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 22:41:10 +00:00
William S Fulton
d1b1c6285a
Removed intermediate variable for SWIGTYPE out typemap as suggested by Heiner Petith
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-09 23:51:55 +00:00
Dave Beazley
12a43edc2d
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Harco de Hilster
9cb07a2409
Somehow the java dir was gone from the repository. Adding it again.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 10:59:23 +00:00