X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=f05952210e48ffbd41bb3d17c6b469d8d5407bb6;hb=ac17ae62fe1a3a29991e36e35eeee838ac4acb00;hp=a6d92aa96d572dabbafecb6c5a3d1644985ea1a5;hpb=dd932e025b2de0fa33b65971288c63679238e08a;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index a6d92aa..f059522 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -43,6 +43,8 @@ enum workarounds { #define XCB_PAD(i) (-(i) & 3) +#define XCB_SEQUENCE_COMPARE(a,op,b) ((int) ((a) - (b)) op 0) + /* xcb_list.c */ typedef void (*XCBListFreeFunc)(void *); @@ -140,6 +142,8 @@ void _xcb_ext_destroy(XCBConnection *c); /* xcb_conn.c */ struct XCBConnection { + int has_error; + /* constant data */ XCBSetup *setup; int fd;