Commit dfa21eaa authored by Karl Heuer's avatar Karl Heuer
Browse files

(XSETFRAME): Set object type as well as value.

parent a94ef819
...@@ -254,7 +254,7 @@ struct frame ...@@ -254,7 +254,7 @@ struct frame
typedef struct frame *FRAME_PTR; typedef struct frame *FRAME_PTR;
#define XFRAME(p) ((struct frame *) XPNTR (p)) #define XFRAME(p) ((struct frame *) XPNTR (p))
#define XSETFRAME(p, v) ((struct frame *) XSETPNTR (p, v)) #define XSETFRAME(p, v) XSET (p, Lisp_Frame, v)
#define WINDOW_FRAME(w) (w)->frame #define WINDOW_FRAME(w) (w)->frame
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment