Commit graph

2,140 commits

Author SHA1 Message Date
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
108bb7aeb0 Director code mods:
- 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@5140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:57:16 +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
1b117a880a (untested) update for build changes done a few months back
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:50:04 +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
afb28e916e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:07:12 +00:00
William S Fulton
c858b73832 First round of director mods
- Removed asserts


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:12:21 +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
638ec81f42 Oops forgot the wombat runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 08:42:37 +00:00
Mark Rose
beaa767b3e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:40:27 +00:00
Mark Rose
9b1f0130a7 Directors default to "owned" (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:37:37 +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
bb80f1f341 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@5127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:44 +00:00
Logan Johnson
f994b747b2 Added a new test case for the std_pair.i library module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:08 +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
b3898b8714 Added a Ruby runtime test for the director_wombat.i test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 21:00:26 +00:00
Logan Johnson
c5d7f53309 Fixed a bug in RUBY::classDirectorConstructor().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 20:31:30 +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
Logan Johnson
30a2c777a9 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@5121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:20:16 +00:00
Logan Johnson
c73588914e Fixed a typo in RUBY::constructorHandler.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:19:03 +00:00
William S Fulton
d5a363a2dc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:20:34 +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
6c9b48715c New test to test directors and templates (from Scott Michel)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:17:32 +00:00
William S Fulton
ee5c4f08ea Improved test to test parameters in static functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:16:18 +00:00
William S Fulton
91b4e247bb Some director runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:54:14 +00:00
William S Fulton
cef07f53ce Removed unused typemap file includes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:53:11 +00:00
William S Fulton
2199bba36a Fixes for throwing exceptions in director (Java) methods
Removed redundant ExceptionClear calls


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:46:22 +00:00
William S Fulton
1db604b960 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-14 21:57:07 +00:00
William S Fulton
247ef8dd93 test fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:50:41 +00:00
William S Fulton
b19cde7205 java director warning changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:48:02 +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
7764421016 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:28:33 +00:00
William S Fulton
c4b43ef489 std::string runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:17:13 +00:00
William S Fulton
7b32421774 std::string runtime tests. Based on Ruby test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:15:46 +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
Dave Beazley
52bf310b69 Added section on Iterators.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 17:47:13 +00:00
Dave Beazley
fe420e133c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:27:03 +00:00
Dave Beazley
4cf4dad108 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +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
f02cfc3f75 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-10 11:23:23 +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
1da47228e1 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@5097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:42:20 +00:00
Matthias Köppe
8044db29b3 Print Doh List objects readably.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:38:16 +00:00
Matthias Köppe
6d658d702e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:36:23 +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
9245647ea7 New example based on Python version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-08 22:10:43 +00:00
William S Fulton
861fac1d90 Minor tidyup mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-08 22:07:49 +00:00