diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-05-08 15:49:17 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-09 07:37:58 +0000 |
commit | 672994ceae26eaea7b543577cbf4ae1bf28d2934 (patch) | |
tree | 2aec51be4860d751bd77a5a41fc67ef627dbc5af /pod | |
parent | 3d42dc86375a150e698f9a14ae6be7a37e2ed575 (diff) | |
download | perl-672994ceae26eaea7b543577cbf4ae1bf28d2934.tar.gz |
Sv_*set() doc's and extra const's for the SvPVX_const() tasks
Message-ID: <20050509014917.GA24132@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24422
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlapi.pod | 74 |
1 files changed, 73 insertions, 1 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod index ba8b4a8e09..400b264616 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -3053,7 +3053,7 @@ Found in file sv.h =item SvCUR_set -Set the length of the string which is in the SV. See C<SvCUR>. +Set the current length of the string which is in the SV. See C<SvCUR>. void SvCUR_set(SV* sv, STRLEN len) @@ -3215,6 +3215,15 @@ Like C<SvIV> but doesn't process magic. =for hackers Found in file sv.h +=item SvIV_set + +Set the value of the IV pointer in sv to val. + + void SvIV_set(SV* sv, IV val) + +=for hackers +Found in file sv.h + =item SvLEN Returns the size of the string buffer in the SV, not including any part @@ -3225,6 +3234,24 @@ attributable to C<SvOOK>. See C<SvCUR>. =for hackers Found in file sv.h +=item SvLEN_set + +Set the actual length of the string which is in the SV. + + void SvLEN_set(SV* sv, STRLEN len) + +=for hackers +Found in file sv.h + +=item SvMAGIC_set + +Set the value of the MAGIC pointer in sv to val. + + void SvMAGIC_set(SV* sv, MAGIC* val) + +=for hackers +Found in file sv.h + =item SvNIOK Returns a boolean indicating whether the SV contains a number, integer or @@ -3330,6 +3357,15 @@ sv only once. Use the more efficient C<SvNV> otherwise. =for hackers Found in file sv.h +=item SvNV_set + +Set the value of the IV pointer in sv to val. + + void SvNV_set(SV* sv, NV val) + +=for hackers +Found in file sv.h + =item SvOK Returns a boolean indicating whether the value is an SV. It also tells @@ -3581,6 +3617,15 @@ Like C<SvPV> but doesn't process magic. =for hackers Found in file sv.h +=item SvPV_set + +Set the value of the PV pointer in sv to val. + + void SvPV_set(SV* sv, char* val) + +=for hackers +Found in file sv.h + =item SvREFCNT Returns the value of the object's reference count. @@ -3644,6 +3689,15 @@ Dereferences an RV to return the SV. =for hackers Found in file sv.h +=item SvRV_set + +Set the value of the RV pointer in sv to val. + + void SvRV_set(SV* sv, SV* val) + +=for hackers +Found in file sv.h + =item SvSTASH Returns the stash of the SV. @@ -3653,6 +3707,15 @@ Returns the stash of the SV. =for hackers Found in file sv.h +=item SvSTASH_set + +Set the value of the STASH pointer in sv to val. + + void SvSTASH_set(SV* sv, STASH* val) + +=for hackers +Found in file sv.h + =item SvTAINT Taints an SV if tainting is enabled. @@ -3800,6 +3863,15 @@ Like C<SvUV> but doesn't process magic. =for hackers Found in file sv.h +=item SvUV_set + +Set the value of the PV pointer in sv to val. + + void SvUV_set(SV* sv, UV val) + +=for hackers +Found in file sv.h + =item SvVOK Returns a boolean indicating whether the SV contains a v-string. |