assign will break under C++ even when included with extern C

This commit is contained in:
Frank Celler
2012-04-20 15:10:46 +02:00
parent 673b3350fe
commit 3d034f52dd
+1 -1
View File
@@ -134,7 +134,7 @@ static inline mrb_value
mrb_obj_value(void *p)
{
mrb_value v;
struct RBasic *b = p;
struct RBasic *b = (struct RBasic*) p;
v.tt = b->tt;
v.value.p = p;