summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2018-02-22 12:11:26 +0000
committerDavid Mitchell <davem@iabyn.com>2018-03-02 13:36:42 +0000
commit50333c9768fa52a79ec159c7a43b40948291861e (patch)
tree91ea2b71a71fc106a9f7c5751c27c6f830ef59ff /proto.h
parentae09f008e4b03a4215db8e3151cfb0ee5f20f004 (diff)
downloadperl-50333c9768fa52a79ec159c7a43b40948291861e.tar.gz
add Perl_init_named_cv() functiom
This moves a block of code out from perly.y into its own function, because it will shortly be needed in more than one place. Should be no functional changes.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 1e35432c46..1a1ac7793c 100644
--- a/proto.h
+++ b/proto.h
@@ -1366,6 +1366,9 @@ PERL_CALLCONV void Perl_init_dbargs(pTHX);
PERL_CALLCONV void Perl_init_debugger(pTHX);
PERL_CALLCONV int Perl_init_i18nl10n(pTHX_ int printwarn);
PERL_CALLCONV int Perl_init_i18nl14n(pTHX_ int printwarn);
+PERL_CALLCONV void Perl_init_named_cv(pTHX_ CV *cv, OP *nameop);
+#define PERL_ARGS_ASSERT_INIT_NAMED_CV \
+ assert(cv); assert(nameop)
PERL_CALLCONV void Perl_init_stacks(pTHX);
PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm);
#define PERL_ARGS_ASSERT_INIT_TM \