Typemap correction for: (size_t LENGTH, const char *STRING)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
498367bc9d
commit
40efa07052
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@
|
|||
/* Here len doesn't include the '0' terminator */
|
||||
%typemap(in,noblock=1,fragment=#SWIG_AsCharPtrAndSize)
|
||||
(size_t LENGTH, Char *STRING) (int res, Char *buf = 0, size_t size = 0, int alloc = 0),
|
||||
(size_t LENGHT, const Char *STRING) (int res, Char *buf = 0, size_t size = 0, int alloc = 0)
|
||||
(size_t LENGTH, const Char *STRING) (int res, Char *buf = 0, size_t size = 0, int alloc = 0)
|
||||
{
|
||||
res = SWIG_AsCharPtrAndSize($input, &buf, &size, &alloc);
|
||||
if (!SWIG_IsOK(res)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue