diff options
author | Artur Bergman <sky@nanisky.com> | 2001-09-10 10:02:51 +0000 |
---|---|---|
committer | Artur Bergman <sky@nanisky.com> | 2001-09-10 10:02:51 +0000 |
commit | 19e8ce8e5f1ac60deced7aff63c00270eec46957 (patch) | |
tree | 438ab66fd0092b89295dae0b19886d33a56e9b65 /op.c | |
parent | 7a799e204b140f54600dab7d4a7b8f748e814b8f (diff) | |
download | perl-19e8ce8e5f1ac60deced7aff63c00270eec46957.tar.gz |
Remove #ifdef PERL_CUSTOM_OPS, always build with PERL_CUSTOM_OPS
Rename to custop_op_name to Perl_custom_op_name to match perlapi
Clone the hashtable PL_custom_op_names and PL_custop_op_descs in
perl_clone.
p4raw-id: //depot/perl@11968
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -7143,8 +7143,9 @@ Perl_peep(pTHX_ register OP *o) LEAVE; } -#ifdef PERL_CUSTOM_OPS -char* custom_op_name(pTHX_ OP* o) + + +char* Perl_custom_op_name(pTHX_ OP* o) { IV index = PTR2IV(o->op_ppaddr); SV* keysv; @@ -7162,7 +7163,7 @@ char* custom_op_name(pTHX_ OP* o) return SvPV_nolen(HeVAL(he)); } -char* custom_op_desc(pTHX_ OP* o) +char* Perl_custom_op_desc(pTHX_ OP* o) { IV index = PTR2IV(o->op_ppaddr); SV* keysv; @@ -7179,7 +7180,7 @@ char* custom_op_desc(pTHX_ OP* o) return SvPV_nolen(HeVAL(he)); } -#endif + #include "XSUB.h" |