comparison src/frame.h @ 10288:e4a6f55757a9

(XSETFRAME): Use pseudovector.
author Richard M. Stallman <rms@gnu.org>
date Fri, 30 Dec 1994 01:41:27 +0000
parents 9e8f603bcff4
children 4e7da2fc451b
comparison
equal deleted inserted replaced
10287:2e96f9f98276 10288:e4a6f55757a9
265 #ifdef MULTI_FRAME 265 #ifdef MULTI_FRAME
266 266
267 typedef struct frame *FRAME_PTR; 267 typedef struct frame *FRAME_PTR;
268 268
269 #define XFRAME(p) ((struct frame *) XPNTR (p)) 269 #define XFRAME(p) ((struct frame *) XPNTR (p))
270 #define XSETFRAME(p, v) XSET (p, Lisp_Frame, v) 270 #define XSETFRAME(a, b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME))
271 271
272 #define WINDOW_FRAME(w) (w)->frame 272 #define WINDOW_FRAME(w) (w)->frame
273 273
274 #define FRAME_LIVE_P(f) ((f)->display.nothing != 0) 274 #define FRAME_LIVE_P(f) ((f)->display.nothing != 0)
275 #define FRAME_TERMCAP_P(f) ((f)->output_method == output_termcap) 275 #define FRAME_TERMCAP_P(f) ((f)->output_method == output_termcap)