Adjust styles [ci skip]
This commit is contained in:
parent
677c3228d0
commit
00d6772e40
3
array.c
3
array.c
@ -1804,7 +1804,8 @@ rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary)
|
|||||||
|
|
||||||
/* non-static for yjit */
|
/* non-static for yjit */
|
||||||
VALUE
|
VALUE
|
||||||
rb_yjit_rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary) {
|
rb_yjit_rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary)
|
||||||
|
{
|
||||||
return rb_ary_unshift_m(argc, argv, ary);
|
return rb_ary_unshift_m(argc, argv, ary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
3
class.c
3
class.c
@ -408,7 +408,8 @@ struct cvc_table_copy_ctx {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static enum rb_id_table_iterator_result
|
static enum rb_id_table_iterator_result
|
||||||
cvc_table_copy(ID id, VALUE val, void *data) {
|
cvc_table_copy(ID id, VALUE val, void *data)
|
||||||
|
{
|
||||||
struct cvc_table_copy_ctx *ctx = (struct cvc_table_copy_ctx *)data;
|
struct cvc_table_copy_ctx *ctx = (struct cvc_table_copy_ctx *)data;
|
||||||
struct rb_cvar_class_tbl_entry * orig_entry;
|
struct rb_cvar_class_tbl_entry * orig_entry;
|
||||||
orig_entry = (struct rb_cvar_class_tbl_entry *)val;
|
orig_entry = (struct rb_cvar_class_tbl_entry *)val;
|
||||||
|
3
gc.c
3
gc.c
@ -13593,7 +13593,8 @@ wkmap_has_key(VALUE self, VALUE key)
|
|||||||
* Removes all map entries; returns +self+.
|
* Removes all map entries; returns +self+.
|
||||||
*/
|
*/
|
||||||
static VALUE
|
static VALUE
|
||||||
wkmap_clear(VALUE self) {
|
wkmap_clear(VALUE self)
|
||||||
|
{
|
||||||
struct weakkeymap *w;
|
struct weakkeymap *w;
|
||||||
TypedData_Get_Struct(self, struct weakkeymap, &weakkeymap_type, w);
|
TypedData_Get_Struct(self, struct weakkeymap, &weakkeymap_type, w);
|
||||||
if (w->map) {
|
if (w->map) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user