diff options
| author | Joakim Verona | 2011-07-18 17:16:34 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-07-18 17:16:34 +0200 |
| commit | cd1f21dd9e794a14aa6907296c6ee95cc5f693a1 (patch) | |
| tree | caa4bd621b770f0672d919da5023f84018ea7478 /src/xwidget.h | |
| parent | f7679969e190ec203eb46e0937185900b72f11c7 (diff) | |
| download | emacs-cd1f21dd9e794a14aa6907296c6ee95cc5f693a1.tar.gz emacs-cd1f21dd9e794a14aa6907296c6ee95cc5f693a1.zip | |
cleanup xv init test, and introduce PVEC_XWIDGET
Diffstat (limited to 'src/xwidget.h')
| -rw-r--r-- | src/xwidget.h | 2 |
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 | ||