adding test for binary buffer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c1416a59a5
commit
f2355fc45b
6 changed files with 19 additions and 9 deletions
|
|
@ -36,7 +36,7 @@
|
|||
SWIG_AsCharPtrAndSize($input, &buf, &size); \
|
||||
if (SWIG_arg_fail($argnum)) SWIG_fail; \
|
||||
$1 = ($1_ltype) buf; \
|
||||
$2 = ($2_ltype) size; \
|
||||
$2 = ($2_ltype) size - 1; \
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue