From e62b39d7c8e8723e99282db4dccbc66c03bf8a5c Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Wed, 19 Mar 2025 15:58:08 +0000 Subject: [PATCH] perldelta for SvVSTRING --- pod/perldelta.pod | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index be782dec15eb..867c06addb39 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -54,6 +54,17 @@ their appearance in Perl release 5.41.7. say "All the numbers are even"; } +=head2 New C API macro + +A new API macro has been added, which is used to obtain the second string +buffer out of a "vstring" SV, in a manner similar to the C macro which +obtains the regular string buffer out of a regular SV. + + STRLEN len; + const char *vstr_pv = SvVSTRING(sv, vstr_len); + +See L>. + =head1 Security XXX Any security-related notices go here. In particular, any security