/* TODO: This throws a warning that cop_warnings is (STRLEN*) while I am casting to (SV*). The typedef converts special values of (STRLEN*) into SV objects. Hope the initial pointer casting isn't a problem.
New code for 5.11 is loosely based upon patch 27786 changes to
B.xs, but avoids calling the static function added there.
XXX: maybe de-static that function
*/
/*
another go: with blead@33056, get another arg2 mismatch to newSVpv
in this code. Turns out that COP_warnings(o) returns void now.
So I hope to comment out this XS, and get B's version instead.
sofar sogood.
B::SV COP_warnings(o) B::COP o CODE: RETVAL = newSVpv(o->cop_warnings, 0);
#endif
*/