From: chromatic Date: Sun, 14 May 2006 16:51:36 +0000 (-0700) Subject: [REPATCH universal.c] Make sv_derived_from Documentation Clearer X-Git-Tag: accepted/trunk/20130322.191538~17644 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6885da0efe41f13f2790ee02701364daa27dd4ce;p=platform%2Fupstream%2Fperl.git [REPATCH universal.c] Make sv_derived_from Documentation Clearer Message-Id: <200605141651.37181.chromatic@wgz.org> p4raw-id: //depot/perl@28195 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index c3b6074..400b329 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -4557,9 +4557,9 @@ Found in file sv.h =item sv_derived_from X -Returns a boolean indicating whether the SV is derived from the specified -class. This is the function that implements C. It works -for class names as well as for objects. +Returns a boolean indicating whether the SV is derived from the specified class +I. To check derivation at the Perl level, call C as a +normal Perl method. bool sv_derived_from(SV* sv, const char* name) diff --git a/universal.c b/universal.c index 266613e..0601645 100644 --- a/universal.c +++ b/universal.c @@ -130,9 +130,9 @@ S_isa_lookup(pTHX_ HV *stash, const char *name, HV* name_stash, =for apidoc sv_derived_from -Returns a boolean indicating whether the SV is derived from the specified -class. This is the function that implements C. It works -for class names as well as for objects. +Returns a boolean indicating whether the SV is derived from the specified class +I. To check derivation at the Perl level, call C as a +normal Perl method. =cut */