fixed wrong computation of buffer capacity for moo->inttostr.xbuf and moo->inttostr.t
updated some sample code fixed a few flaws in ffi.c
This commit is contained in:
@ -7407,7 +7407,7 @@ static int make_defined_class (moo_t* moo)
|
||||
|
||||
for (i = 0; i < initv_count; i++)
|
||||
{
|
||||
MOO_STORE_OOP (moo, &cc->self_oop->cvar[i], initv->slot[i]);
|
||||
MOO_STORE_OOP (moo, &cc->self_oop->cvar[i], MOO_OBJ_GET_OOP_VAL(initv, i));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user