Commit graph

2,001 commits

Author SHA1 Message Date
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
William S Fulton
04f0a7c1e4 missing run test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-08 22:06:28 +00:00
William S Fulton
26806f865f 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@5090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-07 10:24:28 +00:00
William S Fulton
3edea4bfd4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:58:14 +00:00
William S Fulton
05ce6b8f86 callback added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:54:34 +00:00
William S Fulton
1d7b18eb1c New director example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:54:07 +00:00
William S Fulton
1b75602a00 Assorted director fixes by Scott Michel
Bug fix so directors work with package names that use an underscore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:50:38 +00:00
William S Fulton
c4d545bd5d new method abstractClassTest - by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:39:31 +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
555b0080db director basic runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:36:14 +00:00
William S Fulton
96e10ad59f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 20:24:56 +00:00
Tiger Feng
74078036bc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 19:13:45 +00:00
Tiger Feng
76cdd2c2c7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 19:11:39 +00:00
Tiger Feng
04d557113f modified contract output format
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 19:11:11 +00:00
Tiger Feng
9d5b0151f6 Contract simple examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 19:07:01 +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