- croak
-
This is the XSUB-writer's interface to Perl's die function. Normally use
this function the same way you use the C printf function. See warn.
If you want to throw an exception object, assign the object to $@ and then
pass Nullch to croak():
errsv = get_sv("@", TRUE);
sv_setsv(errsv, exception_object);
croak(Nullch);
void croak(const char* pat, ...)
|
|
- warn
-
This is the XSUB-writer's interface to Perl's warn function. Use this
function the same way you use the C printf function. See croak.
void warn(const char* pat, ...)
|
|
|
|