summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-09-25 06:27:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-25 06:27:12 +0000
commit46124e9ee58ad41479e5b089638f6c263bbddcb7 (patch)
tree26e0164d6d7cae383c24731b2defc831ec00b02d /mg.c
parentc934e9d4dfb8a9e1c6e06a69da5761aa29b240b6 (diff)
downloadperl-46124e9ee58ad41479e5b089638f6c263bbddcb7.tar.gz
bump patchlevel to 52; other little tweaks for threads, win32 builds
p4raw-id: //depot/perl@1888
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mg.c b/mg.c
index 90bea2bc12..e4ddcd64c4 100644
--- a/mg.c
+++ b/mg.c
@@ -47,6 +47,7 @@ struct magic_state {
STATIC void
save_magic(I32 mgs_ix, SV *sv)
{
+ dTHR;
MGS* mgs;
assert(SvMAGICAL(sv));
@@ -65,6 +66,7 @@ save_magic(I32 mgs_ix, SV *sv)
STATIC void
restore_magic(void *p)
{
+ dTHR;
MGS* mgs = SSPTR((I32)p, MGS*);
SV* sv = mgs->mgs_sv;
@@ -120,6 +122,7 @@ mg_magical(SV *sv)
int
mg_get(SV *sv)
{
+ dTHR;
I32 mgs_ix;
MAGIC* mg;
MAGIC** mgp;
@@ -154,6 +157,7 @@ mg_get(SV *sv)
int
mg_set(SV *sv)
{
+ dTHR;
I32 mgs_ix;
MAGIC* mg;
MAGIC* nextmg;