lang: Rename module_call to module_call_bytecode
This commit is contained in:
parent
ef37fd88c8
commit
5cdd06b21f
1 changed files with 2 additions and 2 deletions
|
@ -969,7 +969,7 @@ static void module_cleanup(VmState state, Object obj) {
|
|||
free_args(state, args);
|
||||
}
|
||||
|
||||
static void module_call(VmState state, Object obj, void *priv) {
|
||||
static void module_call_bytecode(VmState state, Object obj, void *priv) {
|
||||
struct object_list **args = (struct object_list **)object_priv(state, obj, &module_class);
|
||||
bytecode_run(state, obj, (const unsigned char *)priv, *args);
|
||||
}"""
|
||||
|
@ -999,7 +999,7 @@ def generate_bytecode(node):
|
|||
return output
|
||||
|
||||
def generate_call(node):
|
||||
call = '{.name = "%s", .handler = module_call, ' % (node.name)
|
||||
call = '{.name = "%s", .handler = module_call_bytecode, ' % (node.name)
|
||||
call += '\n\t\t.priv = (void *)bytecode_%s_%s},' % (node.class_, node.name)
|
||||
return call
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue