Newxz is a combined malloc() plus memset() call, see perlapi and perlguts on it.
I think the usage would be to declare the pointer to your struct and then to have it allocated and zeroed like this:
Newxz( r, 1, AirLorconDriver );
In reply to Re^3: help with XS (Newx and
by Corion
in thread help with XS (Newx and
by Bpl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |