summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
parent624f6f53b1081642aea65e1f3f172bcaad6c12c7 (diff)
downloadperl-a287df13cf577b9af034665350e89ba94eb55d77.tar.gz
Expose the class_*() API funcs also to op.c
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc10
1 files changed, 6 insertions, 4 deletions
diff --git a/embed.fnc b/embed.fnc
index cfad54bdf3..630fe7a6c8 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3964,8 +3964,9 @@ i |bool |PerlEnv_putenv |NN char *str
#if defined(PERL_IN_AV_C)
S |MAGIC *|get_aux_mg |NN AV *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)
; Functions in class.c that are called by the parser (perly.c, toke.c, pad.c)
Cp |void |class_add_ADJUST \
|NN HV *stash \
@@ -3993,8 +3994,9 @@ Cp |OP * |class_wrap_method_body \
|NULLOK OP *o
Cp |void |croak_kw_unless_class \
|NN const char *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)
S |void |deb_stack_n |NN SV **stack_base \
|I32 stack_min \