summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-15 14:38:58 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-15 14:38:58 +0000
commit780a5241a93925d81e932db73df46ee749b203b9 (patch)
tree5d2b5e37c760af0191c2ced00c015d067dd9736a /embed.fnc
parentd1144667a1a63a59aa92742530166e5d3591539f (diff)
downloadperl-780a5241a93925d81e932db73df46ee749b203b9.tar.gz
Add get_cvn_flags(), which is like get_cv() but takes a length. This
allows symbolic code references with embeded NULs to work. p4raw-id: //depot/perl@29830
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 2801844c4f..0847142660 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -639,7 +639,8 @@ Apd |I32 |eval_sv |NN SV* sv|I32 flags
Apd |SV* |get_sv |NN const char* name|I32 create
Apd |AV* |get_av |NN const char* name|I32 create
Apd |HV* |get_hv |NN const char* name|I32 create
-Apd |CV* |get_cv |NN const char* name|I32 create
+Apd |CV* |get_cv |NN const char* name|I32 flags
+Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
Ap |int |init_i18nl10n |int printwarn
Ap |int |init_i18nl14n |int printwarn
Ap |void |new_collate |NULLOK const char* newcoll