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:
parent
bdea09ed83
commit
2535297efb
8 changed files with 22 additions and 24 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue