aboutsummaryrefslogtreecommitdiffstats
path: root/src/xwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xwidget.h')
-rw-r--r--src/xwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xwidget.h b/src/xwidget.h
index edd360969dc..c515980ef12 100644
--- a/src/xwidget.h
+++ b/src/xwidget.h
@@ -69,6 +69,8 @@ struct xwidget_view{
69 69
70/* Test for xwidget (xwidget . spec) (car must be the symbol xwidget)*/ 70/* Test for xwidget (xwidget . spec) (car must be the symbol xwidget)*/
71#define XWIDGETP(x) (CONSP (x) && EQ (XCAR (x), Qxwidget)) 71#define XWIDGETP(x) (CONSP (x) && EQ (XCAR (x), Qxwidget))
72/* Test for xwidget pseudovector*/
73#define XXWIDGETP(x) PSEUDOVECTORP (x, PVEC_XWIDGET)
72#define XXWIDGET(a) (eassert (XWIDGETP(a)),(struct xwidget *) XPNTR(a)) 74#define XXWIDGET(a) (eassert (XWIDGETP(a)),(struct xwidget *) XPNTR(a))
73 75
74 76