diff options
author | Steven Schubiger <schubiger@cpan.org> | 2008-03-02 21:10:29 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2008-03-02 19:46:27 +0000 |
commit | ac1e9476daed4b24851ae2c4ed3d43f92b6a1247 (patch) | |
tree | efece17a9c6714c74278c05c3a832a287487dbc8 /pod | |
parent | 546acaf953817e0057123820b511dae1b4e7bafc (diff) | |
download | perl-ac1e9476daed4b24851ae2c4ed3d43f92b6a1247.tar.gz |
Re: [PATCH] sv.c: consting
Message-ID: <20080302191029.GC10705@refcnt.homeunix.org>
Plus regen and additional tweaks to silence warnings from VC7 in sv.c from this patch and previous patches from same author.
p4raw-id: //depot/perl@33411
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlapi.pod | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod index cdad9de6e9..c9ae52c4a3 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -5615,7 +5615,7 @@ string in C<sv1> is less than, equal to, or greater than the string in C<sv2>. Is UTF-8 and 'use bytes' aware, handles get magic, and will coerce its args to strings if necessary. See also C<sv_cmp_locale>. - I32 sv_cmp(SV* sv1, SV* sv2) + I32 sv_cmp(SV *const sv1, SV *const sv2) =for hackers Found in file sv.c @@ -5627,7 +5627,7 @@ Compares the strings in two SVs in a locale-aware manner. Is UTF-8 and 'use bytes' aware, handles get magic, and will coerce its args to strings if necessary. See also C<sv_cmp>. - I32 sv_cmp_locale(SV* sv1, SV* sv2) + I32 sv_cmp_locale(SV *const sv1, SV *const sv2) =for hackers Found in file sv.c @@ -5642,7 +5642,7 @@ scalar data of the variable, but transformed to such a format that a normal memory comparison can be used to compare the data according to the locale settings. - char* sv_collxfrm(SV* sv, STRLEN* nxp) + char* sv_collxfrm(SV *const sv, STRLEN *const nxp) =for hackers Found in file sv.c @@ -5669,7 +5669,7 @@ X<sv_dec> Auto-decrement of the value in the SV, doing string to numeric conversion if necessary. Handles 'get' magic. - void sv_dec(SV* sv) + void sv_dec(SV *const sv) =for hackers Found in file sv.c @@ -5723,7 +5723,7 @@ X<sv_gets> Get a line from the filehandle and store it into the SV, optionally appending to the currently-stored string. - char* sv_gets(SV* sv, PerlIO* fp, I32 append) + char* sv_gets(SV *const sv, PerlIO *const fp, I32 append) =for hackers Found in file sv.c @@ -5746,7 +5746,7 @@ X<sv_inc> Auto-increment of the value in the SV, doing string to numeric conversion if necessary. Handles 'get' magic. - void sv_inc(SV* sv) + void sv_inc(SV *const sv) =for hackers Found in file sv.c @@ -5820,7 +5820,7 @@ handling of the C<name> and C<namlen> arguments. You need to use C<sv_magicext> to add magic to SvREADONLY SVs and also to add more than one instance of the same 'how'. - void sv_magic(SV *const sv, SV *const obj, const int how, const char *const name, I32 namlen) + void sv_magic(SV *const sv, SV *const obj, const int how, const char *const name, const I32 namlen) =for hackers Found in file sv.c @@ -5855,7 +5855,7 @@ The new SV is marked as mortal. It will be destroyed "soon", either by an explicit call to FREETMPS, or by an implicit call at places such as statement boundaries. See also C<sv_newmortal> and C<sv_2mortal>. - SV* sv_mortalcopy(SV* oldsv) + SV* sv_mortalcopy(SV *const oldsv) =for hackers Found in file sv.c @@ -5891,7 +5891,7 @@ Converts the value pointed to by offsetp from a count of bytes from the start of the string, to a count of the equivalent number of UTF-8 chars. Handles magic and type coercion. - void sv_pos_b2u(SV* sv, I32* offsetp) + void sv_pos_b2u(SV *const sv, I32 *const offsetp) =for hackers Found in file sv.c |