William S Fulton
49675199f4
Remove some vc++ /W4 warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 15:23:02 +00:00
William S Fulton
46a0db50fe
enforce consistency in wrap:action wrt line spacing
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-01 21:47:23 +00:00
William S Fulton
9976dc9d75
Add allprotected mode for wrapping protected members when using directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 20:41:01 +00:00
William S Fulton
6f497c2807
Fix bug #1878285 - unnecessary cast for C struct creation wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-12 22:15:00 +00:00
Dave Beazley
b00cef436b
API cleanup (Parms)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-10 23:43:07 +00:00
Dave Beazley
ff41049b1c
Eliminated use of swigkeys.h/.c files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 20:58:19 +00:00
Dave Beazley
c12550e4ad
API cleanup. Documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 05:23:20 +00:00
Dave Beazley
264b7dff90
API cleanup. Documentation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-30 18:27:47 +00:00
Dave Beazley
7a826c8b6d
Changed Header keyword to Id for SVN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 21:57:44 +00:00
William S Fulton
88513346b6
Fix %extend for static member variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-29 21:52:34 +00:00
William S Fulton
7577d0ad70
Fix #1592173 , conversion operators for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-10 23:08:51 +00:00
William S Fulton
1a439a9e19
$self special variable for %extend
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 00:54:28 +00:00
William S Fulton
aa04c4c057
beautify/format source code with gnu indent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
William S Fulton
b7057f7ae8
fix parentnode for %extend methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:47:24 +00:00
William S Fulton
ea9dc991cc
remove unused code which won't work after the director vtable mods to use a List instead of a Hash
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:00:12 +00:00
William S Fulton
f0d1d772fa
- explicitcall feature removed.
...
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:55:24 +00:00
William S Fulton
32abf157f7
new explicitcall feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:00:55 +00:00
Olly Betts
b4626ccbac
Fix typo in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-22 18:11:30 +00:00
William S Fulton
7f74b8e7a3
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus
5864f4ffce
remove extra '\n' reported by Robert Jones
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 09:42:28 +00:00
Marcelo Matus
e8b3542f9a
implement the naturalvar feature for global vars in java and csharp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:38:00 +00:00
Marcelo Matus
e236ab4584
fix several compiler warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 22:58:49 +00:00
Marcelo Matus
67051bcf15
fix template + global funcs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:55:41 +00:00
Marcelo Matus
45246b601a
add missing hidden
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:00:00 +00:00
Marcelo Matus
3cbecbd4e1
fix spurious warning for kwargs + vars, reported by Amaury
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:08:35 +00:00
Marcelo Matus
41f3d67055
fix for template + operators and compilers like gcc 3.3.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:17:47 +00:00
Marcelo Matus
e598ab002b
more swigkey unification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 09:26:42 +00:00
Marcelo Matus
71894cf4b0
using the swig keys in cwrap.c
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:49:36 +00:00
Marcelo Matus
d4969b4d0e
add missing hidden attr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:21:17 +00:00
Marcelo Matus
c567ffaf27
fix for operator() + template + gcc 3.3.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 08:47:13 +00:00
Marcelo Matus
262c2f2f37
missing add SWIGINTERN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:59:10 +00:00
Marcelo Matus
a275bbd30f
add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Marcelo Matus
cbca8a3e88
add 'self' attribute for later use
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:26:37 +00:00
Marcelo Matus
645f95d633
fix many/many memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
f714a2615d
remove many memory leaks and cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
628dc6b32b
add NewStringEmpty, use more StringEuqual and less Strcmp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-28 17:32:56 +00:00
Marcelo Matus
7a77a7feb9
several clean/speed ups
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:58:24 +00:00
Marcelo Matus
d2a6728430
disown the 'self' pointer when deleting
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:35:14 +00:00
Marcelo Matus
5faf1d8117
fixes for new flag attribute convention in ref/unref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:21:30 +00:00
William S Fulton
dda5e32a18
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/SWIG@7586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:34:10 +00:00
William S Fulton
4ec01af9dd
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/SWIG@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
William S Fulton
8db59f74d1
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/SWIG@7099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-28 19:38:37 +00:00
Marcelo Matus
528c3981be
fix enum cast in C
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 21:39:25 +00:00
Marcelo Matus
7695ffc594
fix several memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:39:46 +00:00
Marcelo Matus
b5875c21bb
following Bill's labels patch, we add swiglabels.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00
William S Fulton
fa08396fbe
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/SWIG@6954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:26:04 +00:00
Marcelo Matus
d1f4bec910
more smart pointers + extend fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 09:41:05 +00:00
Marcelo Matus
aba193e439
more fixes and cases for smart pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 08:56:27 +00:00
Marcelo Matus
63ecf6ec37
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/SWIG@6916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 07:38:55 +00:00
Marcelo Matus
ba413fd500
more smart_pointer + static methods fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 01:12:07 +00:00