The 'directorin' typemap now accepts , etc expansions instead of having to use workarounds - _name, _name etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b2b2dd65de
commit
4c898b023c
23 changed files with 80 additions and 78 deletions
|
|
@ -31,7 +31,7 @@ class string;
|
|||
%{ $result = _swig_makegostring($1.data(), $1.length()); %}
|
||||
|
||||
%typemap(directorin) string
|
||||
%{ $input = _swig_makegostring($1_name.data(), $1_name.length()); %}
|
||||
%{ $input = _swig_makegostring($1.data(), $1.length()); %}
|
||||
|
||||
%typemap(in) const string &
|
||||
%{
|
||||
|
|
@ -50,6 +50,6 @@ class string;
|
|||
%{ $result = _swig_makegostring((*$1).data(), (*$1).length()); %}
|
||||
|
||||
%typemap(directorin) const string &
|
||||
%{ $input = _swig_makegostring($1_name.data(), $1_name.length()); %}
|
||||
%{ $input = _swig_makegostring($1.data(), $1.length()); %}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue