consistent directout typemaps for all languages - $result used instead of $1 in C# and Java now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4f85aa29de
commit
24af2d1b11
14 changed files with 46 additions and 48 deletions
|
|
@ -69,7 +69,7 @@ In C# you could then use it like this:
|
|||
%{ $1 = ($1_ltype)&$input; %}
|
||||
|
||||
%typemap(directorout) TYPE *INPUT, TYPE &INPUT
|
||||
%{ $1 = ($1_ltype)&$input; %}
|
||||
%{ $result = ($1_ltype)&$input; %}
|
||||
|
||||
%typemap(directorin) TYPE &INPUT
|
||||
%{ $input = (CTYPE *)$1; %}
|
||||
|
|
@ -260,7 +260,6 @@ of the function return value.
|
|||
%{ $1 = ($1_ltype)$input; %}
|
||||
|
||||
%typemap(directorout,warning="Need to provide TYPE *INOUT directorout typemap") TYPE *INOUT, TYPE &INOUT {
|
||||
|
||||
}
|
||||
|
||||
%typemap(directorin) TYPE &INOUT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue