mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
use obj_run instead
This commit is contained in:
parent
726009aa53
commit
356e203dd0
@ -27,7 +27,7 @@ uint8_t block_checkAssert(PikaObj *self)
|
||||
{
|
||||
Args *buffs = New_strBuff();
|
||||
char *assert = block_getAssert(self);
|
||||
obj_invoke(self, strsFormat(buffs, 32, "_res = %s", assert));
|
||||
obj_run(self, strsFormat(buffs, 32, "_res = %s", assert));
|
||||
int res = obj_getInt(self, "_res");
|
||||
args_deinit(buffs);
|
||||
return res;
|
||||
|
Loading…
x
Reference in New Issue
Block a user