summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorEric Brine <ikegami@adaelis.com>2010-02-11 20:28:29 -0500
committerNicholas Clark <nick@ccl4.org>2010-02-14 16:32:01 +0000
commit777f7c561610dee641c77666e5a4a0d9ac1d4230 (patch)
treea5af4c59239052b2538c566a2b9dfecf437e9b08 /embed.fnc
parent6e3b7bfa2b063f4ce0c55f84474edb7d2c652387 (diff)
downloadperl-777f7c561610dee641c77666e5a4a0d9ac1d4230.tar.gz
Removes 32-bit limit on substr arguments. The full range of IV and UV is available for the pos and len arguments, with safe conversion to STRLEN where it's smaller than an IV.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index 7463274fe2..7e450aa1fb 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1165,6 +1165,7 @@ ApdR |SV* |sv_newmortal
Apd |SV* |sv_newref |NULLOK SV *const sv
Ap |char* |sv_peek |NULLOK SV* sv
Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
+Apd |void |sv_pos_u2b_proper|NULLOK SV *const sv|NN STRLEN *const offsetp|NULLOK STRLEN *const lenp
Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
Amdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp