diff options
-rw-r--r-- | embed.fnc | 2 | ||||
-rw-r--r-- | mathoms.c | 16 | ||||
-rw-r--r-- | pad.c | 16 |
3 files changed, 17 insertions, 17 deletions
@@ -2582,7 +2582,7 @@ Apd |CV* |cv_clone |NN CV* proto p |CV* |cv_clone_into |NN CV* proto|NN CV *target pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv pdX |void |pad_push |NN PADLIST *padlist|int depth -ApdR |HV* |pad_compname_type|const PADOFFSET po +ApbdR |HV* |pad_compname_type|const PADOFFSET po #if defined(USE_ITHREADS) pdR |PADLIST *|padlist_dup |NN PADLIST *srcpad \ |NN CLONE_PARAMS *param @@ -1773,6 +1773,22 @@ Perl_save_re_context(pTHX) PERL_UNUSED_CONTEXT; } +/* +=for apidoc Am|HV *|pad_compname_type|PADOFFSET po + +Looks up the type of the lexical variable at position I<po> in the +currently-compiling pad. If the variable is typed, the stash of the +class to which it is typed is returned. If not, C<NULL> is returned. + +=cut +*/ + +HV * +Perl_pad_compname_type(pTHX_ const PADOFFSET po) +{ + return PAD_COMPNAME_TYPE(po); +} + END_EXTERN_C @@ -2487,22 +2487,6 @@ Perl_pad_push(pTHX_ PADLIST *padlist, int depth) } } -/* -=for apidoc Am|HV *|pad_compname_type|PADOFFSET po - -Looks up the type of the lexical variable at position I<po> in the -currently-compiling pad. If the variable is typed, the stash of the -class to which it is typed is returned. If not, C<NULL> is returned. - -=cut -*/ - -HV * -Perl_pad_compname_type(pTHX_ const PADOFFSET po) -{ - return PadnameTYPE(PAD_COMPNAME(po)); -} - #if defined(USE_ITHREADS) # define av_dup_inc(s,t) MUTABLE_AV(sv_dup_inc((const SV *)s,t)) |