7 Aug 13:44
Some problems with function hiding (C# new)
From: Jan Jezabek <jezabek <at> poczta.onet.pl>
Subject: Some problems with function hiding (C# new)
Newsgroups: gmane.comp.programming.swig.devel
Date: 2008-08-07 11:45:12 GMT
Subject: Some problems with function hiding (C# new)
Newsgroups: gmane.comp.programming.swig.devel
Date: 2008-08-07 11:45:12 GMT
Hi,
I ran across a bug (?) in Allocate::function_is_defined_in_bases shown
by this example:
%module bbase
%rename (aaa2) B::aaa();
%rename (bbb) B::bbb2();
%inline %{
class A {
public:
int aaa();
int bbb();
int ccc;
};
class B : public A {
public:
int aaa();
int bbb2();
void ccc(int);
};
%}
The problem is the incorrect generation of the "hides" attribute -
B::aaa2 has this attribute set while B::bbb has it cleared. Thus B::aaa2
(Continue reading)
RSS Feed