From: Nicholas Clark Date: Fri, 19 Jan 2007 20:13:46 +0000 (+0000) Subject: Yves spotted that I'd not regenerated perlapi.pod when I added X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=36dfb0728c176423708a8d381586c8e380e47696;p=p5sagit%2Fp5-mst-13.2.git Yves spotted that I'd not regenerated perlapi.pod when I added get_cvn_flags(). p4raw-id: //depot/perl@29885 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 4cec94a..a13e2f3 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -628,14 +628,27 @@ Found in file cv.h =item get_cv X -Returns the CV of the specified Perl subroutine. If C is set and -the Perl subroutine does not exist then it will be declared (which has the -same effect as saying C). If C is not set and the -subroutine does not exist then NULL is returned. +Uses C to get the length of C, then calls C. NOTE: the perl_ form of this function is deprecated. - CV* get_cv(const char* name, I32 create) + CV* get_cv(const char* name, I32 flags) + +=for hackers +Found in file perl.c + +=item get_cvn_flags +X + +Returns the CV of the specified Perl subroutine. C are passed to +C. If C is set and the Perl subroutine does not +exist then it will be declared (which has the same effect as saying +C). If C is not set and the subroutine does not exist +then NULL is returned. + +NOTE: the perl_ form of this function is deprecated. + + CV* get_cvn_flags(const char* name, STRLEN len, I32 flags) =for hackers Found in file perl.c