Marcelo Matus
0c33167c26
disown the 'self' pointer when deleting
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:35:14 +00:00
Marcelo Matus
1cf0373523
fixes for new flag attribute convention in ref/unref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:21:30 +00:00
William S Fulton
37a6cc366a
Modify following features to work as flags, so that they can be truely set and unset: nounref, noref, noattr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:10 +00:00
William S Fulton
beebb0a8e1
Modify following features to work as flags, so that they can be truely set and unset:
...
java:const
java:downcast
compactdefaultargs
ignore
valuewrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
William S Fulton
71b3366e0a
remove casts for enums - not necessary now that the enum type is used instead of integers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-28 19:38:37 +00:00
Marcelo Matus
9cd959309c
fix enum cast in C
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:39:25 +00:00
Marcelo Matus
b4edea6fa9
fix several memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +00:00
Marcelo Matus
42381e5888
following Bill's labels patch, we add swiglabels.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00
William S Fulton
04d96a8f14
Fix for typemap matching rules when wrapping variables for languages that wrap them via getter/setter functions (C# and Java)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:26:04 +00:00
Marcelo Matus
d13e837d8e
more smart pointers + extend fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 09:41:05 +00:00
Marcelo Matus
533b36c15d
more fixes and cases for smart pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 08:56:27 +00:00
Marcelo Matus
d6802c75ba
avoid using reference value for static members, since it can generate unresolved symbols for static const
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 07:38:55 +00:00
Marcelo Matus
417e339ba3
more smart_pointer + static methods fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 01:12:07 +00:00
Marcelo Matus
aa048182d7
avoid using of temporal value for wrapping type user + const reference argument
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-18 05:57:08 +00:00
Marcelo Matus
d88eed76e6
mix patches #748861 and #1041174 for %extend generation code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-04 08:33:03 +00:00
Marcelo Matus
d0fad62e2c
add support for smart pointers + %extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 11:29:17 +00:00
Marcelo Matus
659e439023
fix for abstract
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:55:27 +00:00
Marcelo Matus
6d930e0ef0
fixes for mixed_types.i, multidimension arrays, and arrays +references+typedefs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:53:29 +00:00
Marcelo Matus
dc3b6659f5
fix def value difference between T_POINTER and T_STRING
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 01:41:07 +00:00
Marcelo Matus
18d3f92b53
fixes for Sun Studio 9, test it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
Marcelo Matus
2a41ec6bf5
fix compactdefarg + const ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 06:45:10 +00:00
William S Fulton
79bec67051
fixes for directors and default arguments in the constructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
William S Fulton
97c2eeaf90
compact default arguments feature (original default argument wrapping mode)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
Marcelo Matus
a75d2b0a4c
fix SwigValueWrapper
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:34:04 +00:00
Marcelo Matus
2792ac8752
several fixes, see CHANGES.current 10/04/2004
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
ebc7b406dd
mods to use "default" typemap instead of default arguments for new default argument wrapping approach. Mainly %extend mods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:27:55 +00:00
William S Fulton
2c301423bf
Patch to fix wrapping of templated methods. ISO compliant compilers, like
...
Comeau and GCC-3.4.0, don't like the template specifier that SWIG was generating
when calling the method. This fix may break some non standard compliant compilers,
for example, Sun workshop compilers prior to version 6.2.p2. Patch submitted
by Bill Clarke.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:57:27 +00:00
William S Fulton
b6cb23c83e
unnamed global enum variables support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:35:16 +00:00
William S Fulton
d346f06722
unnamed enum member variables - less verbose code generation that has a single solution for all compilers. Will only fail silently (no printfs like before) when using compiler switches that force enums to be different size to integers. If anyone ever does this, I will eat my hat
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:42:37 +00:00
Marcelo Matus
a9b4a82eae
fix inplace python opers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:58:47 +00:00
Marcelo Matus
ecff58b6bb
fix casting type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-01 03:58:47 +00:00
Marcelo Matus
0a3d3c0d0d
added support for unnamed C++ enum members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-31 01:35:44 +00:00
Marcelo Matus
b1291b5a7b
fixes some compiler warnings, and add better support
...
for member variables (in C++/python).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-28 14:04:36 +00:00
Marcelo Matus
15923cd8b8
Added the ref/unref 'recursive' featues. See refcount.i for details
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-10 09:21:36 +00:00
William S Fulton
8377edf02a
Various warning fixes for .NET 2003 cl /W4 to work barring one warning and for gcc -ansi -Wall -pedantic to be warning free:
...
const fixes and function prototype declarations matching the definition etc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 22:46:07 +00:00
William S Fulton
8e017fe286
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
...
Symbols in the generated director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:31 +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
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
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
Mark Rose
c1b57370b6
Abstract directors and typemap fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
Logan Johnson
c205647410
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:36:11 +00:00
Dave Beazley
e6d6098640
overloaded constructor patch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 17:10:52 +00:00
Dave Beazley
0cbcbb551e
Oops. Accidently nuked a {. Fixed now.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:28:33 +00:00
Dave Beazley
5393751256
Fixed comment problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:12:54 +00:00
William S Fulton
66a2cc62f0
compiler warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
Art Yerkes
636daff4e1
Removed a Py_None from cwrap.c.
...
Added SetNoneComparison in lang.cxx, which allows the language module to
specify how to determine whether the empty argument was given for the
'self' pointer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 03:25:09 +00:00
Mark Rose
bd40a83f1c
polymorphism patch merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
Dave Beazley
516036631c
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
8806918a6d
Bug fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-18 02:56:05 +00:00
Dave Beazley
267beb814f
Major reworking of the Wrapper object. It is now a DOH object.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-11-22 23:14:01 +00:00