summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-08 16:56:50 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-08 23:32:22 +0200
commit242f8760e6ec383f070c854a602d038abeaf355a (patch)
tree3b84b59911c540c9813ceb3ae12a9f573ee273cf /proto.h
parente5b34a76788f710069f8da5111b19844263dbf3f (diff)
downloadperl-242f8760e6ec383f070c854a602d038abeaf355a.tar.gz
Add a parameter "destructing" to Gv_AMupdate()
This boolean parameter indicates if the function has been called to update the overload magic table while looking up the DESTROY method. In this case, it's probably best to avoid croaking if those tables could not be updated (for example due to a method that could not be loaded.)
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 427600eeda..f8534701db 100644
--- a/proto.h
+++ b/proto.h
@@ -131,7 +131,7 @@ PERL_CALLCONV SV* Perl_amagic_call(pTHX_ SV* left, SV* right, int method, int di
#define PERL_ARGS_ASSERT_AMAGIC_CALL \
assert(left); assert(right)
-PERL_CALLCONV bool Perl_Gv_AMupdate(pTHX_ HV* stash)
+PERL_CALLCONV bool Perl_Gv_AMupdate(pTHX_ HV* stash, bool destructing)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_GV_AMUPDATE \
assert(stash)