Commit graph

293 commits

Author SHA1 Message Date
William S Fulton
9a8406dc10 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:24:17 +00:00
William S Fulton
5f46cf7d6b __cpluscplus typo fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:23:09 +00:00
William S Fulton
b9df93083f Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
__get_self()


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:21:51 +00:00
William S Fulton
125f909f1a Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
__swig_std_complex_i__


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:20:14 +00:00
William S Fulton
d50330f7ea Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
_SwigImport_Inittab

Dave can you double check this doesn't have dire consequences.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:19:47 +00:00
William S Fulton
61e4857f78 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
_SWIG_ConvertPtr


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:18:15 +00:00
William S Fulton
848956294a Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
_SWIG_ConvertPtr and _SWIG_MakePtr


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:17:46 +00:00
William S Fulton
bd32960613 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:16:38 +00:00
William S Fulton
f302d8bbdb __OCAML__SWIG__MAXVALUES removed. It wasn't being used. Is this okay Art?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:15:39 +00:00
William S Fulton
1a18a41044 Corrected __cpluscplus typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:14:35 +00:00
William S Fulton
2c355228b8 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 :
_SWIG_Exception => SWIG_Exception_


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:13:27 +00:00
William S Fulton
b198a7dbde This file is deprecated - superceded by the pointer.i library. Bye bye!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 20:38:46 +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
Logan Johnson
6d0079f4e6 Fix for the std_pair.i library file for Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:03:57 +00:00
Logan Johnson
9ce85f45a3 Add (and use) the SWIG_POINTER_EXCEPTION and SWIG_POINTER_DISOWN flags
for the Ruby runtime support. Have not actually implemented support for
"disowning" Ruby pointers yet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:47:27 +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
964f56d0d9 Support for std::string and const std::string &
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:13:48 +00:00
William S Fulton
542dd1c9d6 Delegates for returning strings to C# to solve memory leaking problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:12:58 +00:00
Luigi Ballabio
b924fd7937 Fixed Perl std::vector::at problem with gcc < 3.0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 08:19:27 +00:00
Matthias Köppe
b416754856 Fix memory leaks in the generated wrapper code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-10 11:22:12 +00:00
Matthias Köppe
2622befbfc [Chicken] Use C_mk_bool rather than C_mkbool. This fixes
the wrapping of boolean values for Chicken 1.10 and newer.
Reported by Dave <hundo@yahoo.com> / Felix Winkelmann
<felix@proxima-mt.de>.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:35:55 +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
b12b6a73b0 New typecheck
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 20:33:08 +00:00
William S Fulton
c9bc204231 char * wrapping fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-03 22:08:46 +00:00
Dave Beazley
ec6d8dbd46 Fixes for partial specialization change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 20:00:05 +00:00
Tiger Feng
75ca26902b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:19:41 +00:00
Dave Beazley
0662bb44e0 Fixed [ 786394 ] Patch for generated perl code does not compile under RedHat9
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:13:33 +00:00
Dave Beazley
dd60c77db0 Fixed [ 791579 ] (unsigned) long long handled incorrectly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:02:03 +00:00
Dave Beazley
62c3f3642a Fixed [ 798205 ] Segfault in SWIG_ConvertPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:11:13 +00:00
Mark Rose
c14abb83fe Complex director typemap fixes (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 08:08:43 +00:00
Mark Rose
c1b57370b6 Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
William S Fulton
7664465183 Support for throwing C# exceptions from C/C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:05:15 +00:00
William S Fulton
4c995939ca Support for throwing C# exceptions from C/C++:
- throws typemaps implemented.
- SWIGTYPE& and SWIGTYPE typemaps throw a NullReferenceException if a C# null is passed as a parameter


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:03:26 +00:00
William S Fulton
255f6cae9e Support for throwing C# exceptions from C/C++
Fix for pinvoke methods calling convention on Windows (__stdcall). The default calling conventions in the C# 'extern' method now matches the C function calling convention declaration.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:02:10 +00:00
William S Fulton
aac99296a7 Cleaned up new warnings introduced by prev patch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-22 22:26:39 +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
c48f73d7aa Allow for strings with embedded zeros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 12:00:17 +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
Dave Beazley
7b52266e7d Fixed [ 787432 ] long param handled as int
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 17:47:33 +00:00
Mark Rose
f3e1293b6f Director typemap cleanup and return by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 02:38:45 +00:00
Dave Beazley
b0b0a852b8 Improvements to array handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 16:16:00 +00:00