cosmetic fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
12688fd642
commit
ae96b6ec7d
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,7 @@
|
||||||
}
|
}
|
||||||
buff= %new_array(size+1, Char);
|
buff= %new_array(size+1, Char);
|
||||||
$2 = %numeric_cast(size, $2_ltype);
|
$2 = %numeric_cast(size, $2_ltype);
|
||||||
$1 = %static_cast(buff,$1_ltype);
|
$1 = %static_cast(buff, $1_ltype);
|
||||||
}
|
}
|
||||||
%typemap(freearg,noblock=1,match="in") (TYPEMAP,SIZE) {
|
%typemap(freearg,noblock=1,match="in") (TYPEMAP,SIZE) {
|
||||||
if (buff$argnum) %delete_array(buff$argnum);
|
if (buff$argnum) %delete_array(buff$argnum);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue