But in any event, yes, safemalloc() with an explicit size calculation appears to be the correct API in this situation.
In reply to Re^5: Perl XS binding to a struct with an array of chars*
by Marshall
in thread Perl XS binding to a struct with an array of chars*
by MaxPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |