Skip to content

Commit 313563c

Browse files
committed
Coding style.
1 parent e18eb1a commit 313563c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

ext/z80/z80.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ static CallbackInfo const callback_info_table[] = {
168168
{Z_MEMBER_OFFSET(Z80, reti ), NULL, proc_reti, method_reti, },
169169
{Z_MEMBER_OFFSET(Z80, retn ), NULL, proc_retn, method_retn, },
170170
{Z_MEMBER_OFFSET(Z80, hook ), NULL, proc_hook, method_hook, },
171-
{Z_MEMBER_OFFSET(Z80, illegal ), NULL, proc_illegal, method_illegal, }
172-
};
171+
{Z_MEMBER_OFFSET(Z80, illegal ), NULL, proc_illegal, method_illegal, }};
173172

174173

175174
static void set_callback(VALUE self, VALUE object, zuint index)
@@ -504,8 +503,7 @@ uint16_members[] = {
504503
{"af_", Z_MEMBER_OFFSET(Z80, af_ )},
505504
{"bc_", Z_MEMBER_OFFSET(Z80, bc_ )},
506505
{"de_", Z_MEMBER_OFFSET(Z80, de_ )},
507-
{"hl_", Z_MEMBER_OFFSET(Z80, hl_ )}
508-
},
506+
{"hl_", Z_MEMBER_OFFSET(Z80, hl_ )}},
509507

510508
uint8_members[] = {
511509
{"i", Z_MEMBER_OFFSET(Z80, i )},
@@ -519,8 +517,7 @@ uint8_members[] = {
519517
{"iff1", Z_MEMBER_OFFSET(Z80, iff1 )},
520518
{"iff2", Z_MEMBER_OFFSET(Z80, iff2 )},
521519
{"int_line", Z_MEMBER_OFFSET(Z80, int_line )},
522-
{"halt_line", Z_MEMBER_OFFSET(Z80, halt_line)}
523-
};
520+
{"halt_line", Z_MEMBER_OFFSET(Z80, halt_line)}};
524521

525522

526523
static VALUE Z80__to_h(int argc, VALUE *argv, VALUE self)

0 commit comments

Comments
 (0)