summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorArtur Bergman <sky@nanisky.com>2001-09-10 10:02:51 +0000
committerArtur Bergman <sky@nanisky.com>2001-09-10 10:02:51 +0000
commit19e8ce8e5f1ac60deced7aff63c00270eec46957 (patch)
tree438ab66fd0092b89295dae0b19886d33a56e9b65 /op.c
parent7a799e204b140f54600dab7d4a7b8f748e814b8f (diff)
downloadperl-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.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/op.c b/op.c
index eba48b9207..daf66bb217 100644
--- a/op.c
+++ b/op.c
@@ -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"