diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 09:10:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 09:10:42 +0000 |
commit | 719531dba564368add7c66b228c557b6bc2ae51d (patch) | |
tree | 368a942f6fc4b266b554c87cf204152018846377 /internal.h | |
parent | f5f328d4977172b78b677823e59c3984ad786380 (diff) |
fix up imemo_alloc
* internal.h (rb_imemo_alloc_struct), gc.c (gc_mark_imemo): turned
next into the pointer to chain.
* parse.y (NEWHEAP): needs a cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h index b3d3463895..10c58d6533 100644 --- a/internal.h +++ b/internal.h @@ -934,7 +934,7 @@ typedef struct rb_imemo_alloc_struct { VALUE flags; VALUE reserved; VALUE *ptr; /* malloc'ed buffer */ - VALUE next; /* next imemo */ + struct rb_imemo_alloc_struct *next; /* next imemo */ size_t cnt; /* buffer size in VALUE */ } rb_imemo_alloc_t; |