Introduce new GPollableReturn enum

This allows returning WOULD_BLOCK without allocating a GError, and
should later be used for various functions of GPollableOutputStream,
GPollableInputStream and anything else that can potentially block.
This commit is contained in:
Sebastian Dröge
2019-01-04 12:48:26 +02:00
parent 72329ea303
commit 042b8dc40d
2 changed files with 28 additions and 0 deletions

View File

@@ -3659,6 +3659,7 @@ g_pollable_output_stream_get_type
<SECTION>
<FILE>gpollableutils</FILE>
GPollableReturn
GPollableSourceFunc
g_pollable_source_new
g_pollable_source_new_full