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/SWIG@8623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-29 21:21:47 +00:00
commit fdd16d7234

View file

@ -20,6 +20,8 @@
namespace std {
%naturalvar string;
class string;
%typemap(typecheck) string = char *;