diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-02-26 22:58:17 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-02-26 22:58:17 -0800 |
commit | 86ce18c22c8daebe8796d3c38e8a1d496ab6e8de (patch) | |
tree | 1abceb666f64e9ca89b4cc0415046990bebec309 /src/xcbint.h | |
parent | 0f130b4d945a27fd2b4655c351ebe70d61cac598 (diff) |
Replace current_reply generic queue with hand-written version. No generic queues remain so delete their implementation.
Diffstat (limited to 'src/xcbint.h')
-rw-r--r-- | src/xcbint.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/xcbint.h b/src/xcbint.h index 6a61d18..c508504 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -53,14 +53,6 @@ void *_xcb_list_remove_head(_xcb_list *list); void *_xcb_list_remove(_xcb_list *list, int (*cmp)(const void *, const void *), const void *data); void *_xcb_list_find(_xcb_list *list, int (*cmp)(const void *, const void *), const void *data); -typedef _xcb_list _xcb_queue; - -_xcb_queue *_xcb_queue_new(void); -void _xcb_queue_delete(_xcb_queue *q, XCBListFreeFunc do_free); -int _xcb_queue_enqueue(_xcb_queue *q, void *data); -void *_xcb_queue_dequeue(_xcb_queue *q); -int _xcb_queue_is_empty(_xcb_queue *q); - typedef _xcb_list _xcb_map; _xcb_map *_xcb_map_new(void); @@ -106,7 +98,8 @@ typedef struct _xcb_in { int queue_len; unsigned int request_read; - _xcb_queue *current_reply; + struct reply_list *current_reply; + struct reply_list **current_reply_tail; _xcb_map *replies; struct event_list *events; |