use MSB of tt as mark bit

This commit is contained in:
Yuichi Nishiwaki
2017-04-09 19:14:02 +09:00
parent 287e7473b4
commit 960029841e
3 changed files with 28 additions and 16 deletions
+2 -2
View File
@@ -70,14 +70,14 @@ pic_int(pic_state *PIC_UNUSED(pic), pic_value v)
PIC_STATIC_INLINE double
pic_float(pic_state *PIC_UNUSED(pic), pic_value v)
{
assert(pic_float_p(v));
assert(pic_float_p(pic, v));
return v.u.f;
}
PIC_STATIC_INLINE char
pic_char(pic_state *PIC_UNUSED(pic), pic_value v)
{
assert(pic_char_p(v));
assert(pic_char_p(pic, v));
return v.u.c;
}