use new checkcodes,which should take precedence over plain C strings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-03 15:50:44 +00:00
commit 65241338c8
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ namespace std
class string; class string;
} }
%typemaps_std_string(std::string, char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, %checkcode(STRING)); %typemaps_std_string(std::string, char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, %checkcode(STDSTRING));
#else #else

View file

@ -15,7 +15,7 @@ namespace std
class wstring; class wstring;
} }
%typemaps_std_string(std::wstring, wchar_t, SWIG_AsWCharPtrAndSize, SWIG_FromWCharPtrAndSize, %checkcode(UNISTRING)); %typemaps_std_string(std::wstring, wchar_t, SWIG_AsWCharPtrAndSize, SWIG_FromWCharPtrAndSize, %checkcode(STDUNISTRING));
#else #else