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
20fabf7ff3
(untested) update for build changes done a few months back
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:50:04 +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
dc8dc4f78e
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:07:12 +00:00
William S Fulton
a1bc88865c
First round of director mods
...
- Removed asserts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:12:21 +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
842055ed5d
Oops forgot the wombat runtime test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 08:42:37 +00:00
Mark Rose
94abf11303
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:40:27 +00:00
Mark Rose
ae6a5a8f4e
Directors default to "owned" (python)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:37:37 +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
Logan Johnson
b390d41f59
Added a Ruby runtime test for the new lib_std_pair.i test case.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:44 +00:00
Logan Johnson
3c5412866d
Added a new test case for the std_pair.i library module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:08 +00:00
Logan Johnson
5c3f981c51
Fix for the std_pair.i library file for Ruby.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:03:57 +00:00
Logan Johnson
284ddaf844
Added a Ruby runtime test for the director_wombat.i test case.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 21:00:26 +00:00
Logan Johnson
ba19965de9
Fixed a bug in RUBY::classDirectorConstructor().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 20:31:30 +00:00
Logan Johnson
87a1b982e3
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/SWIG@5122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:47:27 +00:00
Logan Johnson
ce97184374
Fixed some problems in Swig_ConstructorToFunction() for the case where
...
the parameter list (parms) is NULL.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:20:16 +00:00
Logan Johnson
415eb46a14
Fixed a typo in RUBY::constructorHandler.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:19:03 +00:00
William S Fulton
0baa82cf4c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:20:34 +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
4dbee23fda
New test to test directors and templates (from Scott Michel)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:17:32 +00:00
William S Fulton
aa1263cb91
Improved test to test parameters in static functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:16:18 +00:00
William S Fulton
a447520c9a
Some director runtime tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:54:14 +00:00
William S Fulton
e228a66c5e
Removed unused typemap file includes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:53:11 +00:00
William S Fulton
d048188454
Fixes for throwing exceptions in director (Java) methods
...
Removed redundant ExceptionClear calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:46:22 +00:00
William S Fulton
423f095207
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-14 21:57:07 +00:00
William S Fulton
00be114696
test fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:50:41 +00:00
William S Fulton
f3916c3687
java director warning changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:48:02 +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
37dec531ee
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:28:33 +00:00
William S Fulton
b80ad6e7a9
std::string runtime tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:17:13 +00:00
William S Fulton
038ac0f294
std::string runtime tests. Based on Ruby test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:15:46 +00:00
William S Fulton
1d30534a99
Support for std::string and const std::string &
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:13:48 +00:00
William S Fulton
3915cf6ecb
Delegates for returning strings to C# to solve memory leaking problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:12:58 +00:00
Dave Beazley
77ffe51f14
Added section on Iterators.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 17:47:13 +00:00
Dave Beazley
f58bac5974
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:27:03 +00:00
Dave Beazley
8ae4c60d39
Major refactoring of DOH List/Hash iterators. See CHANGES
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
Luigi Ballabio
768fa03144
Fixed Perl std::vector::at problem with gcc < 3.0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 08:19:27 +00:00
Matthias Köppe
3d8451e1b8
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-10 11:23:23 +00:00
Matthias Köppe
138a0a9dae
Fix memory leaks in the generated wrapper code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-10 11:22:12 +00:00
Matthias Köppe
bbbff3e5e7
Remove prototypes for the deleted functions SwigType_reset_scopes,
...
SwigType_set_scope_name, Swig_debug_emit, Swig_typemap_lookup_multi.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:42:20 +00:00
Matthias Köppe
d4570b2907
Print Doh List objects readably.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:38:16 +00:00
Matthias Köppe
5422ba430d
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:36:23 +00:00
Matthias Köppe
90d51fb354
[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/SWIG@5094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:35:55 +00:00
William S Fulton
251bd5d1b7
New example based on Python version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-08 22:10:43 +00:00
William S Fulton
2d9ed7eea2
Minor tidyup mods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-08 22:07:49 +00:00
William S Fulton
1f02d8409a
missing run test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-08 22:06:28 +00:00
William S Fulton
5df736b5a2
Director fix. result in director wrappers must not be initialised to zero. Fixes case when std::string is return type.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-07 10:24:28 +00:00