Skip to content

Commit

Permalink
Coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
redcode committed Jan 4, 2024
1 parent e18eb1a commit 313563c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ext/z80/z80.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ static CallbackInfo const callback_info_table[] = {
{Z_MEMBER_OFFSET(Z80, reti ), NULL, proc_reti, method_reti, },
{Z_MEMBER_OFFSET(Z80, retn ), NULL, proc_retn, method_retn, },
{Z_MEMBER_OFFSET(Z80, hook ), NULL, proc_hook, method_hook, },
{Z_MEMBER_OFFSET(Z80, illegal ), NULL, proc_illegal, method_illegal, }
};
{Z_MEMBER_OFFSET(Z80, illegal ), NULL, proc_illegal, method_illegal, }};


static void set_callback(VALUE self, VALUE object, zuint index)
Expand Down Expand Up @@ -504,8 +503,7 @@ uint16_members[] = {
{"af_", Z_MEMBER_OFFSET(Z80, af_ )},
{"bc_", Z_MEMBER_OFFSET(Z80, bc_ )},
{"de_", Z_MEMBER_OFFSET(Z80, de_ )},
{"hl_", Z_MEMBER_OFFSET(Z80, hl_ )}
},
{"hl_", Z_MEMBER_OFFSET(Z80, hl_ )}},

uint8_members[] = {
{"i", Z_MEMBER_OFFSET(Z80, i )},
Expand All @@ -519,8 +517,7 @@ uint8_members[] = {
{"iff1", Z_MEMBER_OFFSET(Z80, iff1 )},
{"iff2", Z_MEMBER_OFFSET(Z80, iff2 )},
{"int_line", Z_MEMBER_OFFSET(Z80, int_line )},
{"halt_line", Z_MEMBER_OFFSET(Z80, halt_line)}
};
{"halt_line", Z_MEMBER_OFFSET(Z80, halt_line)}};


static VALUE Z80__to_h(int argc, VALUE *argv, VALUE self)
Expand Down

0 comments on commit 313563c

Please sign in to comment.