py/stream: Implement generic flush() method, in terms of C-level ioctl.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user