HV *stash;
char *key;
I32 keylen;
- GV *gv;
+ SV *gv;
PPCODE:
if (!SvPOK(klass) || !SvCUR(klass)) {
XSRETURN_NO;
}
(void)hv_iterinit(stash);
- while ((gv = (GV *)hv_iternextsv(stash, &key, &keylen))) {
+ while ((gv = hv_iternextsv(stash, &key, &keylen))) {
if (keylen <= 0) {
continue;
}
continue;
}
- if (GvCV(gv)) {
+ if (!isGV(gv) || GvCV(gv)) {
XSRETURN_YES;
}
}