From 36dfb0728c176423708a8d381586c8e380e47696 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 19 Jan 2007 20:13:46 +0000 Subject: [PATCH] Yves spotted that I'd not regenerated perlapi.pod when I added get_cvn_flags(). p4raw-id: //depot/perl@29885 --- pod/perlapi.pod | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) 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 -- 1.8.3.1