summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorAlbert Dvornik <bert@genscan.com>1998-09-17 15:23:07 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-09-23 10:41:39 +0000
commit455ece5e082708b1bd94cff001612bd4efb4d2e9 (patch)
treee6679b1c862a8bfef5d2dcca86151ec7f7d39148 /perl.h
parent9ad0a0f606dfe6bb2ec67942ae23eef93c8ce770 (diff)
downloadperl-455ece5e082708b1bd94cff001612bd4efb4d2e9.tar.gz
SSNEW() API for allocating memory on the savestack
Message-Id: <tqemtae338.fsf@puma.genscan.com> Subject: [PATCH 5.005_51] (was: why SAVEDESTRUCTOR()...) p4raw-id: //depot/perl@1852
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/perl.h b/perl.h
index bd92e379ed..cee57eb24d 100644
--- a/perl.h
+++ b/perl.h
@@ -1300,13 +1300,9 @@ struct _sublex_info {
OP *sub_op; /* "lex_op" to use */
};
-#ifdef PERL_OBJECT
-struct magic_state {
- SV* mgs_sv;
- U32 mgs_flags;
-};
-typedef struct magic_state MGS;
+typedef struct magic_state MGS; /* struct magic_state defined in mg.c */
+#ifdef PERL_OBJECT
typedef struct {
I32 len_min;
I32 len_delta;