summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-03-25 06:11:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-03-25 06:11:46 +0000
commite65f3abd032ddf0ce2aad5a08fddd39ba3e1e377 (patch)
tree3f5f084a32675c8a5ff1461208c82249a2641c2e /pod
parentf4b9d8806d76b352b24a8b7684a45c4120e28af1 (diff)
downloadperl-e65f3abd032ddf0ce2aad5a08fddd39ba3e1e377.tar.gz
fix a few places that said 'int', but meant 'STRLEN'
p4raw-id: //depot/perl@3162
Diffstat (limited to 'pod')
-rw-r--r--pod/perlguts.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod
index 28adb369e0..c5289a1d86 100644
--- a/pod/perlguts.pod
+++ b/pod/perlguts.pod
@@ -151,7 +151,7 @@ If you want to append something to the end of string stored in an C<SV*>,
you can use the following functions:
void sv_catpv(SV*, const char*);
- void sv_catpvn(SV*, const char*, int);
+ void sv_catpvn(SV*, const char*, STRLEN);
void sv_catpvf(SV*, const char*, ...);
void sv_catpvfn(SV*, const char*, STRLEN, va_list *, SV **, I32, bool);
void sv_catsv(SV*, SV*);
@@ -503,7 +503,7 @@ reference is rv. SV is blessed if C<classname> is non-null.
Copies string into an SV whose reference is C<rv>. Set length to 0 to let
Perl calculate the string length. SV is blessed if C<classname> is non-null.
- SV* sv_setref_pvn(SV* rv, const char* classname, PV iv, int length);
+ SV* sv_setref_pvn(SV* rv, const char* classname, PV iv, STRLEN length);
Tests whether the SV is blessed into the specified class. It does not
check inheritance relationships.
@@ -3032,21 +3032,21 @@ Checks the B<private> setting. Use C<SvPOK>.
Returns a pointer to the string in the SV, or a stringified form of the SV
if the SV does not contain a string. Handles 'get' magic.
- char* SvPV (SV* sv, int len)
+ char* SvPV (SV* sv, STRLEN len)
=item SvPV_force
Like <SvPV> but will force the SV into becoming a string (SvPOK). You
want force if you are going to update the SvPVX directly.
- char* SvPV_force(SV* sv, int len)
+ char* SvPV_force(SV* sv, STRLEN len)
=item SvPV_nolen
Returns a pointer to the string in the SV, or a stringified form of the SV
if the SV does not contain a string. Handles 'get' magic.
- char* SvPV (SV* sv)
+ char* SvPV_nolen (SV* sv)
=item SvPVX