std::string global and member variables are wrapped as strings by default
No need to use the %apply const std::string& { std::string* } trick anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0870d0a710
commit
581b79652d
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
namespace std {
|
||||
|
||||
%naturalvar string;
|
||||
|
||||
class string;
|
||||
|
||||
%typemap(typecheck) string = char *;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue