static EEL_exceptions mc_construct(EEL_vm *vm, EEL_object *eo,
EEL_value *op1, EEL_value *op2)
{
MY_class *mc;
eo = EEL_ALLOC_OBJECT(vm, MY_class);
if(!eo)
return EEL_XMEMORY;
mc = o2MY_class(eo);
mc->some_field = ...;
...
op1->type = EEL_TOBJECT;
op1->object.v = eo;
return 0;
}