pub unsafe extern "C" fn hal_stream_writable(
    stream: *mut hal_stream_t
) -> bool