ruby-changes:48514
From: yui-knk <ko1@a...>
Date: Fri, 3 Nov 2017 12:49:12 +0900 (JST)
Subject: [ruby-changes:48514] yui-knk:r60629 (trunk): node.c: Add some comments
yui-knk 2017-11-03 12:49:07 +0900 (Fri, 03 Nov 2017) New Revision: 60629 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60629 Log: node.c: Add some comments Modified files: trunk/node.c Index: node.c =================================================================== --- node.c (revision 60628) +++ node.c (revision 60629) @@ -1223,13 +1223,13 @@ rb_gc_mark_node(NODE *obj) https://github.com/ruby/ruby/blob/trunk/node.c#L1223 typedef struct node_buffer_elem_struct { struct node_buffer_elem_struct *next; - NODE buf[1]; + NODE buf[1]; /* flexible array */ } node_buffer_elem_t; struct node_buffer_struct { long idx, len; 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 * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/