aboutsummaryrefslogtreecommitdiff
path: root/py/stream.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-27 00:39:10 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-07-27 00:39:10 +0300
commita60b0263ba97f655c01f0982df74299c14457b1c (patch)
treecc333ad6ee02c024c0cfa4b74d267ed1e2d38297 /py/stream.h
parentade36806c8b81cd6509b6823b908e38ae747805f (diff)
py/stream: Implement generic flush() method, in terms of C-level ioctl.
Diffstat (limited to 'py/stream.h')
-rw-r--r--py/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/stream.h b/py/stream.h
index 28e0d2dae..d1074986a 100644
--- a/py/stream.h
+++ b/py/stream.h
@@ -58,6 +58,7 @@ MP_DECLARE_CONST_FUN_OBJ(mp_stream_write_obj);
MP_DECLARE_CONST_FUN_OBJ(mp_stream_write1_obj);
MP_DECLARE_CONST_FUN_OBJ(mp_stream_seek_obj);
MP_DECLARE_CONST_FUN_OBJ(mp_stream_tell_obj);
+MP_DECLARE_CONST_FUN_OBJ(mp_stream_flush_obj);
MP_DECLARE_CONST_FUN_OBJ(mp_stream_ioctl_obj);
// these are for mp_get_stream_raise and can be or'd together