diff options
author | Jean Boussier <[email protected]> | 2025-05-05 13:45:29 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-05 14:44:49 +0200 |
commit | 53ae558042493fa0f2c4408e9fdc1afe290ef712 (patch) | |
tree | 0a7c1ac8a58dec693815f588b1bccc372d845c98 /variable.c | |
parent | 5b1a61e29cb0773e2d8e8e40269dad1d972f348f (diff) |
Improve style consistency of `rb_shape_t *`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13257
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/variable.c b/variable.c index b043689327..a0e2cdd9a5 100644 --- a/variable.c +++ b/variable.c @@ -2045,7 +2045,7 @@ each_hash_iv(st_data_t id, st_data_t val, st_data_t data) static void obj_ivar_each(VALUE obj, rb_ivar_foreach_callback_func *func, st_data_t arg) { - rb_shape_t* shape = rb_shape_get_shape(obj); + rb_shape_t *shape = rb_shape_get_shape(obj); struct iv_itr_data itr_data; itr_data.obj = obj; itr_data.arg = arg; @@ -2083,7 +2083,7 @@ class_ivar_each(VALUE obj, rb_ivar_foreach_callback_func *func, st_data_t arg) { RUBY_ASSERT(RB_TYPE_P(obj, T_CLASS) || RB_TYPE_P(obj, T_MODULE)); - rb_shape_t* shape = rb_shape_get_shape(obj); + rb_shape_t *shape = rb_shape_get_shape(obj); struct iv_itr_data itr_data; itr_data.obj = obj; itr_data.arg = arg; |