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
dfcb1640bf
Remove old swig-1.1 Swig_typemap_lookup function. Rename Swig_typemap_lookup_new() to Swig_typemap_lookup()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-15 21:18:44 +00:00
William S Fulton
efa0db04c6
Fix wrapping of char * member variables (or any types with a memberin typemap) when using allprotected mode.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 21:41:46 +00:00
William S Fulton
b0ecf14e31
Fix wrapping of overloaded protected methods when using allprotected mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-07 20:59:00 +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
Xavier Delacour
13c0b040fc
Fix Octave C support by adding extern "C" around header section. Fix Octave examples (simple, contract, variables, pointer, funcptr) such that example.c files are built with C compiler, and wrappers with C++ compiler.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-05 15:29:01 +00:00
William S Fulton
03ac417e7f
simpler error display for method names using new Swig_name_decl()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-28 23:14:07 +00:00
William S Fulton
629aae375c
Additions to %types so that a user can specify the code to go into the casting / conversion function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-31 22:45:59 +00:00
William S Fulton
b79e9a7d7e
Fix template member variables wrapped by a smart pointer bug reported by Robert Lupton
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-17 00:29:02 +00:00
William S Fulton
e024efafce
Correct display of templates in warning message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-05 00:19:41 +00:00
William S Fulton
fe042d2ebc
Replace cvs $Header$ with svn $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
William S Fulton
76fdf15ff8
comment fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:24:07 +00:00
William S Fulton
7199cf2ef0
Ensure the premature garbage collection prevention parameter (pgcpp) is generated for Java wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:17:50 +00:00
William S Fulton
9b79e76d93
Fix ignore on implicit constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-07 22:10:03 +00:00
William S Fulton
3fd28bf45c
Correct behaviour for templated methods used with %rename or %ignore and %template()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-17 20:42:19 +00:00
William S Fulton
6a13675c16
Fix smart pointers and member methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-01 00:07:23 +00:00
William S Fulton
57b20069d9
comment fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:34:49 +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
William S Fulton
d6f38ba217
Fix typedef'd variable wrappers that use %naturalvar, eg, std::string.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-20 23:09:01 +00:00
William S Fulton
1994a224e2
minor comment fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 22:07:28 +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
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
d668f54a14
Fix %ignore director constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:42:40 +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
1137bf3ec8
Fix some bugs since change of vtable to use List instead of Hash
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:32:47 +00:00
Olly Betts
07c40f5f75
Back out fix for #1474463 since the problems the fix causes are worse than
...
the problem fixed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 04:57:12 +00:00
Marcelo Matus
f323221f41
Fix %ignore + %copyctor as reported in #1486281
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 03:29:33 +00:00
William S Fulton
79eb884747
Directors are output in the order in which they are declared in the C++ class rather than in some pseudo-random order.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:44:12 +00:00
Olly Betts
cc52ebad47
Fix handle of constant expressions containing character literals (e.g. 'x').
...
Fixes bug #1474463 .
Fix type of result of << and >> to match C rules (the type depends only on
the left argument).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 23:39:30 +00:00
William S Fulton
d096cc1613
%ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
8da327e8f4
Fix crashes when director methods are ignored
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:31:44 +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
2986353341
Fix a couple of typos, and unescaped % in a call to Swig_warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-18 17:03:16 +00:00
William S Fulton
0409138721
Remove protected method wrapper (directors) which was being generated when there was no corresponding method in the C++ class. It seemed to be adding in proxy director methods to derived classes if the base class had a protected virtual method. There is no reason to have the extra method (it doesn't happen with public methods) and is the wrong place to add extra methods in any case - should be done in one of the earlier parse stages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 22:15:24 +00:00
Olly Betts
faa6c0b375
Fix typos in comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 20:19:21 +00:00
Marcelo Matus
3d4a44ac03
more fixes for '%rename Class' + %copyctor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:14:47 +00:00
Marcelo Matus
9857ae8e6d
more fixes for '%rename Class' + %copyctor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:12:43 +00:00
Marcelo Matus
8561339c44
fix %rename + %copyctor issue reported by William
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 01:06:11 +00:00
Marcelo Matus
fde04302a7
remove debugging print
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 23:36:22 +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
3d6ad6e78d
fix for directors, now the test-suite runs again using -directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:20:09 +00:00
Marcelo Matus
95815dd5a2
allow director protected members by default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 18:18:44 +00:00
Marcelo Matus
2d1b8578cc
fix copyctor + template bug #1432125
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 05:39:20 +00:00
Marcelo Matus
5f1577a67e
fix copyctor + template bug #1432125
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 05:30:26 +00:00
Marcelo Matus
00006295b0
new fix for director protected members + overloading
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 18:09:46 +00:00
Marcelo Matus
ceaeb49a9f
fix C + enums + struct
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 08:23:45 +00:00
Marcelo Matus
8b9a7ae769
solve duplicate symbol issue reported by Andreas Held
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 02:06:15 +00:00
Marcelo Matus
403e9ebc9e
fix unused 'fail:' label warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:08:56 +00:00