mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update pkpy.c
This commit is contained in:
parent
054987a241
commit
e9fed99471
@ -67,7 +67,7 @@ static bool pkpy_is_user_defined_type(int argc, py_Ref argv) {
|
|||||||
|
|
||||||
static bool pkpy_enable_full_buffering_mode(int argc, py_Ref argv) {
|
static bool pkpy_enable_full_buffering_mode(int argc, py_Ref argv) {
|
||||||
PY_CHECK_ARGC(0);
|
PY_CHECK_ARGC(0);
|
||||||
static char buf[1024 * 1024 * 1];
|
static char buf[1024 * 128];
|
||||||
setvbuf(stdout, buf, _IOFBF, sizeof(buf));
|
setvbuf(stdout, buf, _IOFBF, sizeof(buf));
|
||||||
py_newnone(py_retval());
|
py_newnone(py_retval());
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user