Hmm, the parameter to g_io_channel_win32_poll() should be a GPollFD array,

2000-08-27  Tor Lillqvist  <tml@iki.fi>

Hmm, the parameter to g_io_channel_win32_poll() should be
a GPollFD array, not GIOChannel. That way the caller can know which
channels cause the callback.
This commit is contained in:
Tor Lillqvist
2000-08-27 15:33:15 +00:00
committed by Tor Lillqvist
parent 3d0a1b3b22
commit 55cd16c993
12 changed files with 34 additions and 88 deletions

View File

@@ -2925,8 +2925,8 @@ gint g_io_channel_unix_get_fd (GIOChannel *channel);
* On Unix you would do a select() on the file descriptors of the channels.
* This should probably be available for all platforms?
*/
gint g_io_channel_win32_poll (GIOChannel **channels,
gint n_channels,
gint g_io_channel_win32_poll (GPollFD *fds,
gint n_fds,
GIOCondition condition,
gint timeout);