Commit graph

4,854 commits

Author SHA1 Message Date
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
William S Fulton
d79b53bb54 Java directors implementation contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:26:29 +00:00
William S Fulton
f87e2f574a Java directors implementation contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:15:05 +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
35d5521a04 Director documentation. Contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 20:32:09 +00:00
William S Fulton
12267cef8a some char * wrapping runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-03 22:10:01 +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
William S Fulton
fe6447f708 -E added to options displayed with -help
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 19:55:05 +00:00
William S Fulton
c9d3ee1120 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 16:13:23 +00:00
William S Fulton
2a62747124 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 16:04:04 +00:00
William S Fulton
99309ad9f8 Minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 16:03:52 +00:00
William S Fulton
cc158c0601 Stuff to get Microsoft .NET C# compiler working with the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 16:03:36 +00:00
William S Fulton
b7adea85ae Mods to take account of the different behaviour of the C# compilers and interpreters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 23:31:52 +00:00
William S Fulton
dda59a8efb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 21:11:05 +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
Dave Beazley
d1178eb3b2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 19:59:53 +00:00
Dave Beazley
860baa7745 Fixed [ 794914 ] Wrong types in template specialization.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 19:59:39 +00:00
Dave Beazley
ec5766c20a new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:23:08 +00:00
Tiger Feng
1ed7b341d6 Contracts Inheritance Support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:21:32 +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
02910eeecb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:14:07 +00:00