Skip to content
Snippets Groups Projects
Commit 504614b5 authored by Meredith L. Patterson's avatar Meredith L. Patterson
Browse files

uint8_t* input typemap works for h_token and h_parse

parent 407bc562
No related branches found
No related tags found
No related merge requests found
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,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*[] {
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment