projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace pending_replies generic queue with a hand-implemented typesafe version.
[free-sw/xcb/libxcb]
/
src
/
xcbint.h
diff --git
a/src/xcbint.h
b/src/xcbint.h
index
34b7197
..
eb1afc1
100644
(file)
--- a/
src/xcbint.h
+++ b/
src/xcbint.h
@@
-112,7
+112,8
@@
typedef struct _xcb_in {
_xcb_queue *events;
_xcb_list *readers;
_xcb_queue *events;
_xcb_list *readers;
- _xcb_queue *pending_replies;
+ struct pending_reply *pending_replies;
+ struct pending_reply **pending_replies_tail;
} _xcb_in;
int _xcb_in_init(_xcb_in *in);
} _xcb_in;
int _xcb_in_init(_xcb_in *in);
@@
-142,7
+143,8
@@
void _xcb_xid_destroy(XCBConnection *c);
typedef struct _xcb_ext {
pthread_mutex_t lock;
typedef struct _xcb_ext {
pthread_mutex_t lock;
- _xcb_map *extensions;
+ struct lazyreply *extensions;
+ int extensions_size;
} _xcb_ext;
int _xcb_ext_init(XCBConnection *c);
} _xcb_ext;
int _xcb_ext_init(XCBConnection *c);