mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Adjust styles [ci skip]
This commit is contained in:
parent
677c3228d0
commit
00d6772e40
3 changed files with 6 additions and 3 deletions
3
array.c
3
array.c
|
@ -1804,7 +1804,8 @@ rb_ary_unshift_m(int argc, VALUE *argv, VALUE ary)
|
|||
|
||||
/* non-static for yjit */
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
3
class.c
3
class.c
|
@ -408,7 +408,8 @@ struct cvc_table_copy_ctx {
|
|||
};
|
||||
|
||||
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 rb_cvar_class_tbl_entry * orig_entry;
|
||||
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+.
|
||||
*/
|
||||
static VALUE
|
||||
wkmap_clear(VALUE self) {
|
||||
wkmap_clear(VALUE self)
|
||||
{
|
||||
struct weakkeymap *w;
|
||||
TypedData_Get_Struct(self, struct weakkeymap, &weakkeymap_type, w);
|
||||
if (w->map) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue