File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
fails:C-API Struct function rb_struct_getmember returns the value of a struct member
2
2
fails:C-API Struct function rb_struct_getmember raises a NameError if the struct member does not exist
3
- fails:C-API Struct function rb_struct_s_members returns the struct members as an array of symbols
4
- fails:C-API Struct function rb_struct_members returns the struct members as an array of symbols
Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ VALUE rb_struct_new(VALUE klass, ...) {
65
65
}
66
66
67
67
VALUE rb_struct_s_members (VALUE klass ) {
68
- return RUBY_INVOKE (klass , "rb_struct_s_members " );
68
+ return RUBY_INVOKE (klass , "members " );
69
69
}
70
70
71
71
VALUE rb_struct_members (VALUE s ) {
72
- return RUBY_INVOKE (s , "rb_struct_members " );
72
+ return RUBY_INVOKE (s , "members " );
73
73
}
74
74
75
75
VALUE rb_struct_size (VALUE s ) {
You can’t perform that action at this time.
0 commit comments