Analyses the string in order to make fast searches on it using fbm_instr() -- the Boyer-Moore algorithm.
Returns the location of the SV in the string delimited by str
and strend
. It returns Nullch
if the string can't be found. The sv
does not have to be fbm_compiled, but the search will not be as fast then.
Copy a string to a safe spot. This does not use an SV.
Copy a string to a safe spot. The len
indicates number of bytes to copy. This does not use an SV.
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);
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
.