diff options
author | chromatic <chromatic@wgz.org> | 2006-05-30 10:41:08 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-06-12 16:41:44 +0000 |
commit | cbc021f9c76c5db718d993d3cc885284fbbff80f (patch) | |
tree | a6fb93ddedbd052fb5a34890efe9474db6559a9a /proto.h | |
parent | e77388947cb2bf6620678b8c9693537e8c7df7e6 (diff) | |
download | perl-cbc021f9c76c5db718d993d3cc885284fbbff80f.tar.gz |
Add the new method UNIVERSAL::DOES() and the API function sv_does()
Subject: Re: [PROPOSED PATCH: universal.c, t/op/universal.t] Add does()
Message-Id: <200605301741.08363.chromatic@wgz.org>
p4raw-id: //depot/perl@28387
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2212,6 +2212,11 @@ PERL_CALLCONV bool Perl_sv_derived_from(pTHX_ SV* sv, const char* name) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); +PERL_CALLCONV bool Perl_sv_does(pTHX_ SV* sv, const char* name) + __attribute__warn_unused_result__ + __attribute__nonnull__(pTHX_1) + __attribute__nonnull__(pTHX_2); + PERL_CALLCONV I32 Perl_sv_eq(pTHX_ SV* sv1, SV* sv2); PERL_CALLCONV void Perl_sv_free(pTHX_ SV* sv); PERL_CALLCONV void Perl_sv_free2(pTHX_ SV* sv) |