8000 [DOC] Hide `RubyVM::Shape` that is for debug from RDoc totally · github/ruby@13e6fe9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13e6fe9

Browse files
committed
[DOC] Hide RubyVM::Shape that is for debug from RDoc totally
1 parent 94df8a0 commit 13e6fe9

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed
< 10000 /div>

shape.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,6 @@ rb_shape_memsize(rb_shape_t *shape)
10241024
* Exposing Shape to Ruby via RubyVM.debug_shape
10251025
*/
10261026

1027-
/* :nodoc: */
10281027
static VALUE
10291028
rb_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: */
10771075
static VALUE
10781076
rb_shape_edges(VALUE self)
10791077
{
@@ -1108,7 +1106,6 @@ rb_shape_edge_name(rb_shape_t * shape)
11081106
return Qnil;
11091107
}
11101108

1111-
/* :nodoc: */
11121109
static VALUE
11131110
rb_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: */
11211117
static VALUE
11221118
rb_shape_parent(VALUE self)
11231119
{
@@ -1131,28 +1127,24 @@ rb_shape_parent(VALUE self)
11311127
}
11321128
}
11331129

1134-
/* :nodoc: */
11351130
static VALUE
11361131
rb_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: */
11421136
static VALUE
11431137
rb_shape_root_shape(VALUE self)
11441138
{
11451139
return rb_shape_t_to_rb_cShape(rb_shape_get_root_shape());
11461140
}
11471141

1148-
/* :nodoc: */
11491142
static VALUE
11501143
rb_shape_shapes_available(VALUE self)
11511144
{
11521145
return INT2NUM(MAX_SHAPE_ID - (GET_SHAPE_TREE()->next_shape_id - 1));
11531146
}
11541147

1155-
/* :nodoc: */
11561148
static VALUE
11571149
rb_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: */
11871178
VALUE
11881179
rb_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: */
12071197
static VALUE
12081198
shape_transition_tree(VALUE self)
12091199
{
12101200
return rb_obj_shape(rb_shape_get_root_shape());
12111201
}
12121202

1213-
/* :nodoc: */
12141203
static VALUE
12151204
rb_shape_find_by_id(VALUE mod, VALUE id)
12161205
{
@@ -1311,6 +1300,8 @@ void
13111300
Init_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

Comments
 (0)
0