mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
This commit is contained in:
parent
56369bfa6f
commit
f9c00fd706
@ -84,7 +84,7 @@ void add_module_sys(VM* vm){
|
|||||||
|
|
||||||
vm->bind_func(stderr_, "write", 1, [](VM* vm, ArgsView args) {
|
vm->bind_func(stderr_, "write", 1, [](VM* vm, ArgsView args) {
|
||||||
Str& s = CAST(Str&, args[0]);
|
Str& s = CAST(Str&, args[0]);
|
||||||
vm->_stderr(s.data, s.size);
|
vm->stderr_write(s);
|
||||||
return vm->None;
|
return vm->None;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user