node.c: Add some comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f7fb086789
commit
1f67ebd5a7
4
node.c
4
node.c
@ -1223,13 +1223,13 @@ rb_gc_mark_node(NODE *obj)
|
|||||||
|
|
||||||
typedef struct node_buffer_elem_struct {
|
typedef struct node_buffer_elem_struct {
|
||||||
struct node_buffer_elem_struct *next;
|
struct node_buffer_elem_struct *next;
|
||||||
NODE buf[1];
|
NODE buf[1]; /* flexible array */
|
||||||
} node_buffer_elem_t;
|
} node_buffer_elem_t;
|
||||||
|
|
||||||
struct node_buffer_struct {
|
struct node_buffer_struct {
|
||||||
long idx, len;
|
long idx, len;
|
||||||
node_buffer_elem_t *head;
|
node_buffer_elem_t *head;
|
||||||
node_buffer_elem_t body;
|
node_buffer_elem_t body; /* this should be a last, because body has flexible array */
|
||||||
};
|
};
|
||||||
|
|
||||||
node_buffer_t *
|
node_buffer_t *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user