summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorchromatic <chromatic@wgz.org>2006-05-30 10:41:08 -0700
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-06-12 16:41:44 +0000
commitcbc021f9c76c5db718d993d3cc885284fbbff80f (patch)
treea6fb93ddedbd052fb5a34890efe9474db6559a9a /proto.h
parente77388947cb2bf6620678b8c9693537e8c7df7e6 (diff)
downloadperl-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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index a0d5dec2aa..e1ba341d66 100644
--- a/proto.h
+++ b/proto.h
@@ -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)