mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gpollableutils: utility functions for pollable stream implementations
Move g_pollable_source_new() here from gpollableinputstream.c, add g_pollable_source_new_full(), and add some new methods to do either blocking or nonblocking reads depending on a boolean argument. https://bugzilla.gnome.org/show_bug.cgi?id=673997
This commit is contained in:
@@ -95,9 +95,6 @@ gssize g_pollable_input_stream_read_nonblocking (GPollableInputStream *stream
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
/* Helper method for stream implementations */
|
||||
GSource *g_pollable_source_new (GObject *pollable_stream);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user