diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-10-06 16:12:04 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-10-06 16:35:36 -0700 |
commit | 34168ab549fdf7c6c8a6fbe39824116698d01b12 (patch) | |
tree | 0c60107c36d7424296f4c88460ee7ab63708f731 /src/xcb.h | |
parent | 40589db8124b8c72894deb86a825c6117b0a2cd2 (diff) |
Remove the 'int *error' out-parameter for xcb_poll_for_event.
Diffstat (limited to 'src/xcb.h')
-rw-r--r-- | src/xcb.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -224,12 +224,10 @@ xcb_generic_event_t *xcb_wait_for_event(xcb_connection_t *c); * Returns the next event or error from the server, if one is * available, or returns @c NULL otherwise. If no event is available, that * might be because an I/O error like connection close occurred while - * attempting to read the next event. The @p error parameter is a - * pointer to an int to be filled in with the I/O error status of the - * operation. If @p error is @c NULL, terminates the application when an - * I/O error occurs. + * attempting to read the next event, in which case the connection is + * shut down when this function returns. */ -xcb_generic_event_t *xcb_poll_for_event(xcb_connection_t *c, int *error); +xcb_generic_event_t *xcb_poll_for_event(xcb_connection_t *c); /** * @brief Return the error for a request, or NULL if none can ever arrive. |