That would work. Just make sure you comment both the little file and wherever you call it from, explaining why you've stuck this indirection wrapper around a CRT call and mentioning that noone must ever include XSUB.h in there. Otherwise someone is going to be very confused by the apparent duplication, or worse back to square one, a year or so from now :)
In reply to Re^6: XS malloc and free (whose)
by BrowserUk
in thread XS malloc and free
by Brutha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |