|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: adjusting the length of an SV?
|
> Without actualy using something like sv_setpv, sv_setpvn, or sv_setsv,
> can I just null out one of the chars, and then adjust the length that
> Perl has assoicated with the SV?
>
> I can't seem to find any macros or functions in perlguts or perlxs that
> shows how to adjust this length.
Sorry, I found it in perlguts:
SvCUR_set(SV*,I32)
k
--
------------------------------------------------------------------------------
Of course power tools and alcohol don't mix. Everyone knows power tools
aren't soluble in alcohol... -- Crazy Nigel
mortis@voicenet.com http://www.voicenet.com/~mortis
------------------------------------------------------------------------------
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|