/* xsutils.c
*
- * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+ * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
* by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
switch (SvTYPE(sv)) {
case SVt_PVCV:
switch ((int)len) {
-#ifdef CVf_ASSERTION
- case 9:
- if (memEQ(name, "assertion", 9)) {
- if (negated)
- CvFLAGS((CV*)sv) &= ~CVf_ASSERTION;
- else
- CvFLAGS((CV*)sv) |= CVf_ASSERTION;
- continue;
- }
- break;
-#endif
case 6:
switch (name[3]) {
#ifdef CVf_LVALUE
{
dVAR;
dXSARGS;
+ PERL_UNUSED_ARG(cv);
if( items > 1 )
Perl_croak(aTHX_ "Usage: attributes::bootstrap $module");
dVAR;
dXSARGS;
SV *rv, *sv;
+ PERL_UNUSED_ARG(cv);
if (items < 1) {
usage:
dXSARGS;
SV *rv, *sv;
cv_flags_t cvflags;
+ PERL_UNUSED_ARG(cv);
if (items != 1) {
usage:
XPUSHs(sv_2mortal(newSVpvs("method")));
if (GvUNIQUE(CvGV((CV*)sv)))
XPUSHs(sv_2mortal(newSVpvs("unique")));
- if (cvflags & CVf_ASSERTION)
- XPUSHs(sv_2mortal(newSVpvs("assertion")));
break;
case SVt_PVGV:
if (GvUNIQUE(sv))
dXSARGS;
SV *rv, *sv;
dXSTARG;
+ PERL_UNUSED_ARG(cv);
if (items != 1) {
usage:
dXSARGS;
SV *rv, *sv;
dXSTARG;
+ PERL_UNUSED_ARG(cv);
if (items != 1) {
usage: