summaryrefslogtreecommitdiff
path: root/mg.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-03-31 23:15:15 +0000
committerNicholas Clark <nick@ccl4.org>2007-03-31 23:15:15 +0000
commit9bd878171021311bd025e403714388c68ff5d9e2 (patch)
tree230642a1528afc0c53aed7a66102b21d48a036f0 /mg.h
parentb1225a1b471182e0a875e14b76da023a738eea62 (diff)
downloadperl-9bd878171021311bd025e403714388c68ff5d9e2.tar.gz
Rearrange members of structures to reduce memory size on some
platforms. On LP64 structs stackinfo, refcounted_he, and magic shrink by 8 bytes, struct yy_parser by 16. p4raw-id: //depot/perl@30817
Diffstat (limited to 'mg.h')
-rw-r--r--mg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.h b/mg.h
index 2e1237446b..05ad08bf5a 100644
--- a/mg.h
+++ b/mg.h
@@ -30,9 +30,9 @@ struct magic {
U16 mg_private;
char mg_type;
U8 mg_flags;
+ I32 mg_len;
SV* mg_obj;
char* mg_ptr;
- I32 mg_len;
};
#define MGf_TAINTEDDIR 1 /* PERL_MAGIC_envelem only */