summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-02 15:04:47 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-14 11:14:58 -0700
commit9927957a90b2fe6bdb0e2be889b2edcddadea174 (patch)
treee265b03cc962927ef503bb225e5e78414349fcf8 /proto.h
parente058c50ad847ead283c43829ad8b0b73f59ef9db (diff)
downloadperl-9927957a90b2fe6bdb0e2be889b2edcddadea174.tar.gz
Make core_prototype provide the op number as well
Since it has to calculate it, it might as well provide it, so callers do not have to go through that while(i < MAXO) loop yet again. (The &CORE::foo feature will use this.)
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index b267253edd..735f0cbd5a 100644
--- a/proto.h
+++ b/proto.h
@@ -571,7 +571,7 @@ PERL_CALLCONV void Perl_cop_store_label(pTHX_ COP *const cop, const char *label,
#define PERL_ARGS_ASSERT_COP_STORE_LABEL \
assert(cop); assert(label)
-PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const STRLEN len, const bool croak)
+PERL_CALLCONV SV * Perl_core_prototype(pTHX_ SV *sv, const char *name, const STRLEN len, int * const opnum, const bool croak)
__attribute__nonnull__(pTHX_2);
#define PERL_ARGS_ASSERT_CORE_PROTOTYPE \
assert(name)