Commit graph

53 commits

Author SHA1 Message Date
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
William S Fulton
ebb9ed7277 Various director fixes submitted by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:19:47 +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
7b1bedc0fd 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/SWIG@5109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:47:37 +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
3b3ea6e650 Missing assert.h for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:27:31 +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
2f38702eb6 Reworked std::string typemaps.
Fixes various string in std namespace problems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 12:42:09 +00:00
William S Fulton
61e4fa4202 vector<std::string> specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-19 09:55:49 +00:00
Luigi Ballabio
62741dd03e Typemap for size_t applied to std::size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Luigi Ballabio
dcb94e7d4a std::pair added (but not very much tested)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +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
ad50ad8545 Few more JCALLx macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-13 08:27:33 +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
Luigi Ballabio
7463cde52f Missing files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 13:02:58 +00:00
William S Fulton
a63f480109 Fix for push_back as suggested by Gualtiero Chiaia
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 12:54:52 +00:00
William S Fulton
c5e9953972 Throw exception if Java array passed in is not the same size as the C array.
Was using C free when array created with C++ new.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:32:45 +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
Luigi Ballabio
9d50216d9c Support for std::map (thanks, Dave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +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
Luigi Ballabio
32e0a3d8e7 A global stl.i works just as well
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +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
d84664faa8 added wstring typemap. contributed by:
Wenyue Yu <wenyue@stud.ntnu.no>
         tal@slt.atr.co.jp


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 11:06:27 +00:00