Commit graph

312 commits

Author SHA1 Message Date
Dave Beazley
ff61b0f0f8 Fixed [ 827907 ] argout objects not being wrapped properly (PATH).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:43:38 +00:00
Dave Beazley
e3e7b2ff04 Fixed [ 826996 ] perl type checking ignores perl subclasses.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:02:44 +00:00
Art Yerkes
78fef8466a preamble for swig modules now that a separate Swig module exists.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:24:31 +00:00
Art Yerkes
e92f0601a7 Added convert_c_obj function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:22:51 +00:00
Art Yerkes
372c453cac Cleaner interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:20:40 +00:00
Art Yerkes
b60aedb6c5 Forgot to add files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:18:41 +00:00
Art Yerkes
c1e6a38f30 More orthodox way of building the Swig module. I'm working on making
modules easier to link together by isolating the common types and functions
in a module that they all open.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-22 13:46:42 +00:00
Art Yerkes
4951d70c53 Director related changes, other edits.
director_wombat testcase, as well as all others except director_abstract
compile.
Four test cases fail.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-22 04:01:27 +00:00
William S Fulton
57122ae799 void* used instead of int for IntPtr in C function declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-16 21:34:38 +00:00
William S Fulton
d860793b36 Warning removal in runtime code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-16 20:50:16 +00:00
William S Fulton
0959b6f153 unsigned char pointers and references fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-06 20:47:53 +00:00
Matthias Köppe
2d137ae0e8 Install common.scm.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:42:36 +00:00
Matthias Köppe
3e216a67dc Remove symbol clashes between runtime libraries.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:36:52 +00:00
Matthias Köppe
4a30a92fb1 Add GOOPS support, contributed by John Lenz.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:27:20 +00:00
Dave Beazley
d784a549c8 Fixed [ 800012 ] ENTER macro from CORE/scope.h clashes with libc search.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-30 17:52:45 +00:00
Dave Beazley
aa987d6d65 Fixed [ 811518 ] Casting ints to doubles (w/ solution?)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-30 17:35:18 +00:00
William S Fulton
c108055784 Director tweaks from Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:40:49 +00:00
Art Yerkes
4107d3fa08 Working directors again. I need to focus on director_abstract testcase.
TODO: my ranting on typing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-25 06:46:17 +00:00
Luigi Ballabio
aa3302379e Specialization for vector<T*>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-24 11:35:50 +00:00
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