@@ -1024,7 +1024,6 @@ rb_shape_memsize(rb_shape_t *shape)
10241024 * Exposing Shape to Ruby via RubyVM.debug_shape
10251025 */
10261026
1027- /* :nodoc: */
10281027static VALUE
10291028rb_shape_too_complex (VALUE self )
10301029{
@@ -1073,7 +1072,6 @@ rb_edges_to_hash(ID key, VALUE value, void *ref)
10731072 return ID_TABLE_CONTINUE ;
10741073}
10751074
1076- /* :nodoc: */
10771075static VALUE
10781076rb_shape_edges (VALUE self )
10791077{
@@ -1108,7 +1106,6 @@ rb_shape_edge_name(rb_shape_t * shape)
11081106 return Qnil ;
11091107}
11101108
1111- /* :nodoc: */
11121109static VALUE
11131110rb_shape_export_depth (VALUE self )
11141111{
@@ -1117,7 +1114,6 @@ rb_shape_export_depth(VALUE self)
11171114 return SIZET2NUM (rb_shape_depth (shape ));
11181115}
11191116
1120- /* :nodoc: */
11211117static VALUE
11221118rb_shape_parent (VALUE self )
11231119{
@@ -1131,28 +1127,24 @@ rb_shape_parent(VALUE self)
11311127 }
11321128}
11331129
1134- /* :nodoc: */
11351130static VALUE
11361131rb_shape_debug_shape (VALUE self , VALUE obj )
11371132{
11381133 return rb_shape_t_to_rb_cShape (rb_shape_get_shape (obj ));
11391134}
11401135
1141- /* :nodoc: */
11421136static VALUE
11431137rb_shape_root_shape (VALUE self )
11441138{
11451139 return rb_shape_t_to_rb_cShape (rb_shape_get_root_shape ());
11461140}
11471141
1148- /* :nodoc: */
11491142static VALUE
11501143rb_shape_shapes_available (VALUE self )
11511144{
11521145 return INT2NUM (MAX_SHAPE_ID - (GET_SHAPE_TREE ()-> next_shape_id - 1 ));
11531146}
11541147
1155- /* :nodoc: */
11561148static VALUE
11571149rb_shape_exhaust (int argc , VALUE * argv , VALUE self )
11581150{
@@ -1183,7 +1175,6 @@ static VALUE edges(struct rb_id_table* edges)
11831175 return hash ;
11841176}
11851177
1186- /* :nodoc: */
11871178VALUE
11881179rb_obj_shape (rb_shape_t * shape )
11891180{
@@ -1203,14 +1194,12 @@ rb_obj_shape(rb_shape_t* shape)
12031194 return rb_shape ;
12041195}
12051196
1206- /* :nodoc: */
12071197static VALUE
12081198shape_transition_tree (VALUE self )
12091199{
12101200 return rb_obj_shape (rb_shape_get_root_shape ());
12111201}
12121202
1213- /* :nodoc: */
12141203static VALUE
12151204rb_shape_find_by_id (VALUE mod , VALUE id )
12161205{
@@ -1311,6 +1300,8 @@ void
13111300Init_shape (void )
13121301{
13131302#if SHAPE_DEBUG
1303+ /* Document-class: RubyVM::Shape
1304+ * :nodoc: */
13141305 VALUE rb_cShape = rb_struct_define_under (rb_cRubyVM , "Shape" ,
13151306 "id" ,
13161307 "parent_id" ,
0 commit comments