Commit 07fefb58 authored by Yuichi Nishiwaki's avatar Yuichi Nishiwaki

cosmetic changes

parent 831e16cd
...@@ -130,16 +130,16 @@ typedef struct mrb_value { ...@@ -130,16 +130,16 @@ typedef struct mrb_value {
union { union {
mrb_float f; mrb_float f;
union { union {
void *p; void *p;
struct { struct {
MRB_ENDIAN_LOHI( MRB_ENDIAN_LOHI(
uint32_t ttt; uint32_t ttt;
,union { ,union {
mrb_int i; mrb_int i;
mrb_sym sym; mrb_sym sym;
}; };
) )
}; };
} value; } value;
}; };
} mrb_value; } mrb_value;
...@@ -157,7 +157,7 @@ typedef struct mrb_value { ...@@ -157,7 +157,7 @@ typedef struct mrb_value {
#define MRB_SET_VALUE_P(o, tt, v) do {\ #define MRB_SET_VALUE_P(o, tt, v) do {\
(o).value.ttt = mrb_mktt(tt);\ (o).value.ttt = mrb_mktt(tt);\
(o).value.i = 0;\ (o).value.i = 0;\
(o).value.p = (void*)((uint64_t)(o).value.p | (((uint64_t)(v))>>2)); \ (o).value.p = (void*)((uint64_t)(o).value.p | (((uint64_t)(v))>>2));\
} while (0) } while (0)
static inline mrb_value static inline mrb_value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment