1 /* Copyright (C) 2008 Jamey Sharp, Josh Triplett
2 * This file is licensed under the MIT license. See the file COPYING.
4 * As Xlibint.h has long become effectively public API, this header exists
5 * for new private functions that nothing outside of libX11 should call.
11 extern _X_HIDDEN void _XIDHandler(Display *dpy);
12 extern _X_HIDDEN void _XSeqSyncFunction(Display *dpy);
13 extern _X_HIDDEN void _XSetPrivSyncFunction(Display *dpy);
14 extern _X_HIDDEN void _XSetSeqSyncFunction(Display *dpy);
17 #if defined(XTHREADS_WARN) || defined(XTHREADS_FILE_LINE)
18 #define InternalLockDisplay(d,wskip) if ((d)->lock) \
19 (*(d)->lock->internal_lock_display)(d,wskip,__FILE__,__LINE__)
21 #define InternalLockDisplay(d,wskip) if ((d)->lock) \
22 (*(d)->lock->internal_lock_display)(d,wskip)
24 #else /* XTHREADS else */
25 #define InternalLockDisplay(d,wskip)
26 #endif /* XTHREADS else */
28 #endif /* XPRIVATE_H */