Skip to content

Commit 36894d6

Browse files
committed
perldelta for SvVSTRING
1 parent 1fb05c6 commit 36894d6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pod/perldelta.pod

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ their appearance in Perl release 5.41.7.
5454
say "All the numbers are even";
5555
}
5656

57+
=head2 New C<SvVSTRING> API macro
58+
59+
A new API macro has been added, which is used to obtain the second string
60+
buffer out of a "vstring" SV, in a manner similar to the C<SvPV> macro which
61+
obtains the regular string buffer out of a regular SV.
62+
63+
STRLEN len;
64+
const char *vstr_pv = SvVSTRING(sv, vstr_len);
65+
5766
=head1 Security
5867

5968
XXX Any security-related notices go here. In particular, any security

0 commit comments

Comments
 (0)