more functions to test director string ref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
26b2877caa
commit
b7917fdaef
1 changed files with 6 additions and 0 deletions
|
|
@ -28,6 +28,12 @@ struct A
|
||||||
virtual const std::string& get(int n) const
|
virtual const std::string& get(int n) const
|
||||||
{ return m_strings[n]; }
|
{ return m_strings[n]; }
|
||||||
|
|
||||||
|
virtual const std::string& call_get_first() const
|
||||||
|
{ return get_first(); }
|
||||||
|
|
||||||
|
virtual const std::string& call_get(int n) const
|
||||||
|
{ return get(n); }
|
||||||
|
|
||||||
std::vector<std::string> m_strings;
|
std::vector<std::string> m_strings;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue