summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
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 'embed.fnc')
-rw-r--r--embed.fnc3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 4da1d75eec..04f85518d3 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -265,7 +265,8 @@ Afnp |int |printf_nocontext|NN const char *format|...
#endif
: Used in pp.c
p |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
- |const STRLEN len|const bool croak
+ |const STRLEN len|NULLOK int * const opnum\
+ |const bool croak
: Used in sv.c
p |void |cv_ckproto_len |NN const CV* cv|NULLOK const GV* gv\
|NULLOK const char* p|const STRLEN len