more %apply char* fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b523aaba5e
commit
389b4813ca
4 changed files with 5 additions and 5 deletions
|
|
@ -289,7 +289,7 @@ SIMPLE_MAP(unsigned long long, gh_scm2ulong_long, gh_ulong_long2scm, integer);
|
|||
/* Strings */
|
||||
|
||||
%typemap (in, doc="$NAME is a string") char *(int must_free = 0) {
|
||||
$1 = ($1_type)SWIG_scm2str($input);
|
||||
$1 = ($1_ltype)SWIG_scm2str($input);
|
||||
must_free = 1;
|
||||
}
|
||||
%typemap (varin, doc="NEW-VALUE is a string") char * {$1 = SWIG_scm2str($input);}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue