mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
gpoll: introduce new ghandle type
We've long discussed having a ghandle type corresponding to HANDLE on windows and an int (fd) elsewhere. Let's add that now. We continue to maintain the 'fd' field as being an integer on Windows in order to avoid warnings about implicit casts in existing software. 'ghandleint' was introduced for that purpose.
This commit is contained in:
@@ -544,6 +544,10 @@ g_child_watch_add
|
||||
g_child_watch_add_full
|
||||
|
||||
<SUBSECTION>
|
||||
ghandle
|
||||
ghandleint
|
||||
%G_HANDLE_NULL
|
||||
g_handle_is_valid
|
||||
GPollFD
|
||||
g_poll
|
||||
G_POLLFD_FORMAT
|
||||
|
Reference in New Issue
Block a user