mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Remove ";" suffix from function-type macros.
This commit is contained in:
@@ -41,7 +41,7 @@ static const uint8_t __m[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};
|
||||
v |= v >> 8;\
|
||||
v |= v >> 16;\
|
||||
v++;\
|
||||
} while (0);
|
||||
} while (0)
|
||||
|
||||
/* declare struct kh_xxx and kh_xxx_funcs
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ typedef struct mrb_value {
|
||||
#define MRB_SET_VALUE(o, ttt, attr, v) do {\
|
||||
(o).tt = ttt;\
|
||||
(o).attr = v;\
|
||||
} while (0);
|
||||
} while (0)
|
||||
|
||||
static inline mrb_value
|
||||
mrb_float_value(mrb_float f)
|
||||
@@ -131,7 +131,7 @@ typedef struct mrb_value {
|
||||
#define MRB_SET_VALUE(o, tt, attr, v) do {\
|
||||
(o).ttt = mrb_mktt(tt);\
|
||||
(o).attr = v;\
|
||||
} while (0);
|
||||
} while (0)
|
||||
|
||||
static inline mrb_value
|
||||
mrb_float_value(mrb_float f)
|
||||
|
||||
Reference in New Issue
Block a user