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:
Marcelo Matus 2005-09-06 06:31:25 +00:00
commit f2355fc45b
6 changed files with 19 additions and 9 deletions

View file

@ -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; \
}