eliminate spurious temporal variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a1b354f6e9
commit
74922d7e03
2 changed files with 13 additions and 1 deletions
|
|
@ -16,10 +16,16 @@
|
|||
virtual ~A()
|
||||
{
|
||||
}
|
||||
|
||||
virtual int get_val(Int a)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual int get_rval(const Int& a)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
@ -29,6 +35,11 @@
|
|||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int get_rval(const int& a)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue