#endif
#if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
-s |bool|isa_lookup |NULLOK HV *stash|NN const char *name|NULLOK const HV * const name_stash|int len|int level
+s |bool|isa_lookup |NULLOK HV *stash|NN const char * const name|NULLOK const HV * const name_stash
#endif
#if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
#endif
#if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
#ifdef PERL_CORE
-#define isa_lookup(a,b,c,d,e) S_isa_lookup(aTHX_ a,b,c,d,e)
+#define isa_lookup(a,b,c) S_isa_lookup(aTHX_ a,b,c)
#endif
#endif
#if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
#endif
#if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
-STATIC bool S_isa_lookup(pTHX_ HV *stash, const char *name, const HV * const name_stash, int len, int level)
+STATIC bool S_isa_lookup(pTHX_ HV *stash, const char * const name, const HV * const name_stash)
__attribute__nonnull__(pTHX_2);
#endif
*/
STATIC bool
-S_isa_lookup(pTHX_ HV *stash, const char *name, const HV* const name_stash,
- int len, int level)
+S_isa_lookup(pTHX_ HV *stash, const char * const name, const HV* const name_stash)
{
dVAR;
AV* stash_linear_isa;
SV** svp;
const char *hvname;
I32 items;
- PERL_UNUSED_ARG(len);
- PERL_UNUSED_ARG(level);
/* A stash/class can go by many names (ie. User == main::User), so
we compare the stash itself just in case */
items = AvFILLp(stash_linear_isa);
while (items--) {
SV* const basename_sv = *svp++;
- HV* basestash = gv_stashsv(basename_sv, 0);
+ HV* const basestash = gv_stashsv(basename_sv, 0);
if (!basestash) {
if (ckWARN(WARN_SYNTAX))
Perl_warner(aTHX_ packWARN(WARN_SYNTAX),
if (stash) {
HV * const name_stash = gv_stashpv(name, 0);
- return isa_lookup(stash, name, name_stash, strlen(name), 0);
+ return isa_lookup(stash, name, name_stash);
}
else
return FALSE;