You need a typemap for "u_char *" (just the one "*") and use "u_char * &buf" as the declaration for the argument.
This is from fuzzy memory so let me know if that worked.
- tye (but my friends call me "Tye")In reply to (tye)Re: XS question: typemap for a pointer to a pointer?
by tye
in thread XS question: typemap for a pointer to a pointer?
by Big Willy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |