add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
07d8e6e980
commit
eae6be789b
1 changed files with 10 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
%module(directors="1") director_profile
|
||||
|
||||
%include std_string.i
|
||||
|
||||
%feature("director") B;
|
||||
|
||||
|
||||
|
|
@ -48,6 +50,14 @@
|
|||
{
|
||||
return b;
|
||||
}
|
||||
|
||||
virtual std::string vfs(const std::string& a) {
|
||||
return a;
|
||||
}
|
||||
|
||||
std::string fs(const std::string& a) {
|
||||
return vfs(a);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue