Handling errors in Perl XS modules
This page deals with how to handle errors when creating a Perl XS module.
If you need to use
stdarg error handling, of the type
which uses a
va_list rather than three dots, there are
vcroak defined in
util.c in the Perl distribution. These functions are not documented. They both take a
format string and a pointer to a
va_list (rather than
va_list itself) as their second argument.