fix non public overload order
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
520d9238c0
commit
c4d6cdf0ab
3 changed files with 45 additions and 3 deletions
|
|
@ -102,8 +102,26 @@ protected:
|
|||
class GG : public G {
|
||||
};
|
||||
|
||||
template <class T>
|
||||
class HH_T
|
||||
{
|
||||
|
||||
|
||||
public:
|
||||
|
||||
HH_T(int i,int j)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
protected:
|
||||
HH_T();
|
||||
|
||||
};
|
||||
|
||||
|
||||
%}
|
||||
|
||||
|
||||
|
||||
%template(HH) HH_T<int>;
|
||||
|
||||
|
|
|
|||
|
|
@ -94,3 +94,8 @@ except AttributeError:
|
|||
gg = dc.new_GG
|
||||
del_gg = dc.delete_GG
|
||||
|
||||
|
||||
import default_constructor
|
||||
hh = default_constructor.HH(1,1)
|
||||
print hh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue