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
|
|
@ -29,6 +29,7 @@ int count(wchar_t *in, int n, wchar_t c) {
|
|||
r++;
|
||||
}
|
||||
in++;
|
||||
--n;
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue