minor formatting change

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-04-23 06:44:47 +00:00
commit 2535297efb
8 changed files with 22 additions and 24 deletions

View file

@ -44,8 +44,7 @@ namespace std {
} }
} }
%typemap(in) const string& (std::string temp, %typemap(in) const string& (std::string temp, char *tempptr) {
char* tempptr) {
if ($input == C_SCHEME_FALSE) { if ($input == C_SCHEME_FALSE) {
temp.resize(0); temp.resize(0);

View file

@ -36,8 +36,7 @@ namespace std {
} }
} }
%typemap(in) const string & (std::string temp, %typemap(in) const string & (std::string temp, char *tempptr) {
char* tempptr) {
if (gh_string_p($input)) { if (gh_string_p($input)) {
tempptr = SWIG_scm2str($input); tempptr = SWIG_scm2str($input);
temp.assign(tempptr); temp.assign(tempptr);