summaryrefslogtreecommitdiff
path: root/include/X11/ThreadsI.h
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2007-06-23 15:20:09 +0100
committerDavid Nusinow <dnusinow@debian.org>2007-06-23 15:20:09 +0100
commit6b483e355de6c5ee5dc635ab9b817bf72680b016 (patch)
treefa4110d53d999b9a0b2acd31dbcc4cb291bb875d /include/X11/ThreadsI.h
parent845e51c740574db2f72a5e7c5462d8f56a3c4e22 (diff)
Allow C++ apps to build using libXt
Diffstat (limited to 'include/X11/ThreadsI.h')
-rw-r--r--include/X11/ThreadsI.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/X11/ThreadsI.h b/include/X11/ThreadsI.h
index 1492d77..28cbc98 100644
--- a/include/X11/ThreadsI.h
+++ b/include/X11/ThreadsI.h
@@ -81,6 +81,8 @@ typedef void (*ThreadAppRestoreLockProc)(
Boolean* /* pushed_thread */
);
+_XFUNCPROTOBEGIN
+
extern void (*_XtProcessLock)(
void
);
@@ -93,6 +95,8 @@ extern void (*_XtInitAppLock)(
XtAppContext /* app */
);
+_XFUNCPROTOEND
+
#define INIT_APP_LOCK(app) if(_XtInitAppLock) (*_XtInitAppLock)(app)
#define FREE_APP_LOCK(app) if(app && app->free_lock)(*app->free_lock)(app)