From 64f0785ed5e07820674e74a62660085426a2fb28 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 12 Nov 2008 10:42:21 +0000 Subject: [PATCH] Regenerate API docs p4raw-id: //depot/perl@34820 --- perlapi.c | 4 +++- pod/perlapi.pod | 5 +---- pod/perlintern.pod | 14 +++++++++----- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/perlapi.c b/perlapi.c index d15afec..19b1b3e 100644 --- a/perlapi.c +++ b/perlapi.c @@ -18,7 +18,9 @@ * * Up to the threshold of the door there mounted a flight of twenty-seven * broad stairs, hewn by some unknown art of the same black stone. This - * was the only entrance to the tower. + * was the only entrance to the tower; ... + * + * [p.577 of _The Lord of the Rings_, III/x: "The Voice of Saruman"] * */ diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 0738dfb..5cab290 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -816,9 +816,6 @@ Found in file perl.c =item pv_display X - char *pv_display(SV *dsv, const char *pv, STRLEN cur, STRLEN len, - STRLEN pvlim, U32 flags) - Similar to pv_escape(dsv,pv,cur,pvlim,PERL_PV_ESCAPE_QUOTE); @@ -3034,7 +3031,7 @@ value returned by the sub. Otherwise, returns NULL. Constant subs can be created with C or as described in L. - SV* cv_const_sv(CV* cv) + SV* cv_const_sv(const CV *const cv) =for hackers Found in file op.c diff --git a/pod/perlintern.pod b/pod/perlintern.pod index 48c3a7b..cae0cd4 100644 --- a/pod/perlintern.pod +++ b/pod/perlintern.pod @@ -460,11 +460,15 @@ Found in file mg.c =item mg_localize X -Copy some of the magic from an existing SV to new localized version of -that SV. Container magic (eg %ENV, $1, tie) gets copied, value magic -doesn't (eg taint, pos). +Copy some of the magic from an existing SV to new localized version of that +SV. Container magic (eg %ENV, $1, tie) gets copied, value magic doesn't (eg +taint, pos). - void mg_localize(SV* sv, SV* nsv) +If empty is false then no set magic will be called on the new (empty) SV. +This typically means that assignment will soon follow (e.g. 'local $x = $y'), +and that will handle the magic. + + void mg_localize(SV* sv, SV* nsv, I32 empty) =for hackers Found in file mg.c @@ -1102,7 +1106,7 @@ X Print appropriate "Use of uninitialized variable" warning - void report_uninit(SV* uninit_sv) + void report_uninit(const SV *uninit_sv) =for hackers Found in file sv.c -- 2.7.4