uint8_t* input typemap works for h_token and h_parse

This commit is contained in:
Meredith L. Patterson 2013-11-20 12:40:28 -06:00
parent 213f338357
commit 8be21c3d28

View file

@ -140,10 +140,10 @@
$1 = (uint8_t*)(*$input)->value.str.val; $1 = (uint8_t*)(*$input)->value.str.val;
$2 = (*$input)->value.str.len; $2 = (*$input)->value.str.len;
} }
%typemap(out) (uint8_t* input, size_t len) { %typemap(out) (uint8_t* input, size_t length) {
RETVAL_STRINGL((char*)$1, $2, 1); RETVAL_STRINGL((char*)$1, $2, 1);
} }
//%apply (uint8_t* input, size_t len) { (uint8_t* str, size_t len) } %apply (const uint8_t* str, const size_t len) { (const uint8_t* input, size_t length) }
%typemap(in) void*[] { %typemap(in) void*[] {
} }