summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2023-03-05 12:18:59 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2023-03-06 10:41:20 +0000
commita287df13cf577b9af034665350e89ba94eb55d77 (patch)
tree3249749f80074cb55e850f23eed2bc7a3d2585fd /proto.h
parent624f6f53b1081642aea65e1f3f172bcaad6c12c7 (diff)
downloadperl-a287df13cf577b9af034665350e89ba94eb55d77.tar.gz
Expose the class_*() API funcs also to op.c
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/proto.h b/proto.h
index 74e38aab5f..10d96484b9 100644
--- a/proto.h
+++ b/proto.h
@@ -6198,8 +6198,9 @@ S_get_aux_mg(pTHX_ AV *av);
assert(av)
#endif /* defined(PERL_IN_AV_C) */
-#if defined(PERL_IN_CLASS_C) || defined(PERL_IN_PAD_C) || \
- defined(PERL_IN_PERLY_C) || defined(PERL_IN_TOKE_C)
+#if defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C) || \
+ defined(PERL_IN_PAD_C) || defined(PERL_IN_PERLY_C) || \
+ defined(PERL_IN_TOKE_C)
PERL_CALLCONV void
Perl_class_add_ADJUST(pTHX_ HV *stash, CV *cv);
# define PERL_ARGS_ASSERT_CLASS_ADD_ADJUST \
@@ -6253,8 +6254,9 @@ Perl_croak_kw_unless_class(pTHX_ const char *kw);
# define PERL_ARGS_ASSERT_CROAK_KW_UNLESS_CLASS \
assert(kw)
-#endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_PAD_C) || \
- defined(PERL_IN_PERLY_C) || defined(PERL_IN_TOKE_C) */
+#endif /* defined(PERL_IN_CLASS_C) || defined(PERL_IN_OP_C) || \
+ defined(PERL_IN_PAD_C) || defined(PERL_IN_PERLY_C) || \
+ defined(PERL_IN_TOKE_C) */
#if defined(PERL_IN_DEB_C)
STATIC void
S_deb_stack_n(pTHX_ SV **stack_base, I32 stack_min, I32 stack_max, I32 mark_min, I32 mark_max);