Matthias Köppe
c0c0689298
Fix typecheck for SWIGTYPE.
...
This fixes the following bug:
Luigi Ballabio wrote:
> The following interface produces Guile wrappers which
> do not compile:
>
> %module Foo
> class Foo {};
> class Bar : public Foo {};
> void baz(Foo f);
>
> The reason seems to be the function baz() taking a Foo by value, which
> causes functions to be emitted in the CONVERSIONS section such as:
>
> static void *_BarTo_Foo(void *x) {
> return (void *)((Foo) ((Bar) x));
> }
> static void *_p_BarTo_p_Foo(void *x) {
> return (void *)((Foo *) ((Bar *) x));
> }
>
> of which the former doesn't compile; on the other hand, only the second
> function is emitted if baz() takes a Foo by const reference.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 10:31:18 +00:00
Matthias Köppe
21f3f0e81b
Fix typecheck for SWIGTYPE.
...
This fixes the following bug:
Luigi Ballabio wrote:
> The following interface produces Guile wrappers which
> do not compile:
>
> %module Foo
> class Foo {};
> class Bar : public Foo {};
> void baz(Foo f);
>
> The reason seems to be the function baz() taking a Foo by value, which
> causes functions to be emitted in the CONVERSIONS section such as:
>
> static void *_BarTo_Foo(void *x) {
> return (void *)((Foo) ((Bar) x));
> }
> static void *_p_BarTo_p_Foo(void *x) {
> return (void *)((Foo *) ((Bar *) x));
> }
>
> of which the former doesn't compile; on the other hand, only the second
> function is emitted if baz() takes a Foo by const reference.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 10:31:18 +00:00
William S Fulton
5b766d6fc0
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:52:32 +00:00
William S Fulton
179c5710af
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:52:32 +00:00
William S Fulton
c4fcaf6e05
test symbol with same name but different purpose in inheritance hierarchy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:48:11 +00:00
William S Fulton
c4aed59a48
test symbol with same name but different purpose in inheritance hierarchy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:48:11 +00:00
William S Fulton
8a9f37eb53
missing return added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:43:56 +00:00
William S Fulton
668381afe4
missing return added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:43:56 +00:00
William S Fulton
f3b30bcfac
More tests when a method's access changes through inheritance hierarchy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:42:59 +00:00
William S Fulton
990c38e797
More tests when a method's access changes through inheritance hierarchy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:42:59 +00:00
William S Fulton
cf56fd2c77
typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:39:43 +00:00
William S Fulton
c4352f8bb7
typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:39:43 +00:00
William S Fulton
2d53bf6463
Bug fix for when a base class has the same name as a method in a derived class.
...
Fixes for when access changes from protected to public (-fvirtual and override/hides attributes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:38:52 +00:00
William S Fulton
3ed206ebd0
Bug fix for when a base class has the same name as a method in a derived class.
...
Fixes for when access changes from protected to public (-fvirtual and override/hides attributes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:38:52 +00:00
William S Fulton
0a8e2111d3
html validation fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 23:06:56 +00:00
William S Fulton
479697a677
html validation fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 23:06:56 +00:00
William S Fulton
8205ca9de8
Update for 1.3.25 release
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:59:50 +00:00
William S Fulton
d3c73fe48b
Update for 1.3.25 release
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:59:50 +00:00
William S Fulton
c09b7fa897
Various fixes for VC++7.1 and Sun Studio 10
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:25:00 +00:00
William S Fulton
b707684fec
Various fixes for VC++7.1 and Sun Studio 10
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:25:00 +00:00
William S Fulton
b6b35e2e71
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:53:08 +00:00
William S Fulton
c12129c0a8
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:53:08 +00:00
William S Fulton
4fea1d827a
Various fixes for Visual C++ 7.1 and Sun Studio 10
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:52:16 +00:00
William S Fulton
15a791cfb8
Various fixes for Visual C++ 7.1 and Sun Studio 10
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:52:16 +00:00
William S Fulton
7f149959c9
Sun Studio 10 can handle templates properly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:50:26 +00:00
William S Fulton
a67f27efeb
Sun Studio 10 can handle templates properly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:50:26 +00:00
William S Fulton
e2e829dfc6
copyright year update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:48:09 +00:00
William S Fulton
385eef2af5
copyright year update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:48:09 +00:00
William S Fulton
28859e6894
minor correction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:47:29 +00:00
William S Fulton
40eb42cf6e
minor correction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:47:29 +00:00
William S Fulton
dc633df912
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:58:13 +00:00
William S Fulton
2c797c1ac4
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:58:13 +00:00
William S Fulton
99db8318db
Fix #1066363 - directory name matches tarball name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:56:35 +00:00
William S Fulton
bd43f20540
Fix #1066363 - directory name matches tarball name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:56:35 +00:00
William S Fulton
9c9764d962
test bug #1211353 for -ve enum values
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:52 +00:00
William S Fulton
c922efdfcd
test bug #1211353 for -ve enum values
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:52 +00:00
William S Fulton
388fbad517
Fix #1211353 for -ve enum values
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:08 +00:00
William S Fulton
ad57e978d4
Fix #1211353 for -ve enum values
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:08 +00:00
William S Fulton
a0cb27e998
html error fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:44:57 +00:00
William S Fulton
3a23e98a13
html error fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:44:57 +00:00
Dave Beazley
7c9e7a7e6d
Changed wiki location
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 00:59:48 +00:00
Dave Beazley
dac6d7d0c7
Changed my contact email. Wiki location
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 00:58:45 +00:00
Dave Beazley
7ade73ff78
Changed my contact email. Wiki location
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 00:58:45 +00:00
William S Fulton
0b1a6606f1
test virtual methods in private inheritance
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:56:23 +00:00
William S Fulton
dd6d53d082
test virtual methods in private inheritance
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:56:23 +00:00
William S Fulton
b891717ad8
Fix detection of virtual/overridden methods when derived class has private or protected inheritance from base class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:51:20 +00:00
William S Fulton
e8d738ab42
Fix detection of virtual/overridden methods when derived class has private or protected inheritance from base class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:51:20 +00:00
William S Fulton
98325f88a7
test strings in a multithreaded environment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:42:50 +00:00
William S Fulton
7fca0c8649
test strings in a multithreaded environment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:42:50 +00:00
William S Fulton
ae38d0ff23
A testcase for testing multi-thread issues
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:40:45 +00:00