comparison src/window.c @ 2551:9f70af3ac939

[xemacs-hg @ 2005-02-03 16:14:02 by james] Commit Olivier Galibert's dumper updates for bignums and use them. See xemacs-patches message with ID <ps8y685c6p.fsf@diannao.ittc.ku.edu>.
author james
date Thu, 03 Feb 2005 16:14:08 +0000
parents 3d8143fc88e1
children 6fa9919a9a0b
comparison
equal deleted inserted replaced
2550:317f30471f4e 2551:9f70af3ac939
169 int_dynarr_description_1 169 int_dynarr_description_1
170 }; 170 };
171 171
172 static const struct memory_description face_cachel_description_1[] = { 172 static const struct memory_description face_cachel_description_1[] = {
173 { XD_BLOCK_PTR, offsetof (face_cachel, merged_faces), 173 { XD_BLOCK_PTR, offsetof (face_cachel, merged_faces),
174 1, &int_dynarr_description }, 174 1, { &int_dynarr_description } },
175 { XD_LISP_OBJECT, offsetof (face_cachel, face) }, 175 { XD_LISP_OBJECT, offsetof (face_cachel, face) },
176 { XD_LISP_OBJECT, offsetof (face_cachel, foreground) }, 176 { XD_LISP_OBJECT, offsetof (face_cachel, foreground) },
177 { XD_LISP_OBJECT, offsetof (face_cachel, background) }, 177 { XD_LISP_OBJECT, offsetof (face_cachel, background) },
178 { XD_LISP_OBJECT_ARRAY, offsetof (face_cachel, font), NUM_LEADING_BYTES }, 178 { XD_LISP_OBJECT_ARRAY, offsetof (face_cachel, font), NUM_LEADING_BYTES },
179 { XD_LISP_OBJECT, offsetof (face_cachel, display_table) }, 179 { XD_LISP_OBJECT, offsetof (face_cachel, display_table) },
240 #define WINDOW_SLOT_ARRAY(slot, size) \ 240 #define WINDOW_SLOT_ARRAY(slot, size) \
241 { XD_LISP_OBJECT_ARRAY, offsetof (struct window, slot), size }, 241 { XD_LISP_OBJECT_ARRAY, offsetof (struct window, slot), size },
242 #include "winslots.h" 242 #include "winslots.h"
243 243
244 { XD_BLOCK_PTR, offsetof (struct window, face_cachels), 244 { XD_BLOCK_PTR, offsetof (struct window, face_cachels),
245 1, &face_cachel_dynarr_description }, 245 1, { &face_cachel_dynarr_description } },
246 { XD_BLOCK_PTR, offsetof (struct window, glyph_cachels), 246 { XD_BLOCK_PTR, offsetof (struct window, glyph_cachels),
247 1, &glyph_cachel_dynarr_description }, 247 1, { &glyph_cachel_dynarr_description } },
248 { XD_BLOCK_PTR, offsetof (struct window, line_start_cache), 248 { XD_BLOCK_PTR, offsetof (struct window, line_start_cache),
249 1, &line_start_cache_dynarr_description }, 249 1, { &line_start_cache_dynarr_description } },
250 { XD_END } 250 { XD_END }
251 }; 251 };
252 252
253 static Lisp_Object 253 static Lisp_Object
254 mark_window (Lisp_Object obj) 254 mark_window (Lisp_Object obj)
421 { XD_LISP_OBJECT, offsetof (struct window_mirror, next) }, 421 { XD_LISP_OBJECT, offsetof (struct window_mirror, next) },
422 { XD_LISP_OBJECT, offsetof (struct window_mirror, hchild) }, 422 { XD_LISP_OBJECT, offsetof (struct window_mirror, hchild) },
423 { XD_LISP_OBJECT, offsetof (struct window_mirror, vchild) }, 423 { XD_LISP_OBJECT, offsetof (struct window_mirror, vchild) },
424 424
425 { XD_BLOCK_PTR, offsetof (struct window_mirror, current_display_lines), 425 { XD_BLOCK_PTR, offsetof (struct window_mirror, current_display_lines),
426 1, &display_line_dynarr_description }, 426 1, { &display_line_dynarr_description } },
427 { XD_BLOCK_PTR, offsetof (struct window_mirror, desired_display_lines), 427 { XD_BLOCK_PTR, offsetof (struct window_mirror, desired_display_lines),
428 1, &display_line_dynarr_description }, 428 1, { &display_line_dynarr_description } },
429 429
430 { XD_LISP_OBJECT, offsetof (struct window_mirror, buffer) }, 430 { XD_LISP_OBJECT, offsetof (struct window_mirror, buffer) },
431 431
432 #ifdef HAVE_SCROLLBARS 432 #ifdef HAVE_SCROLLBARS
433 { XD_LISP_OBJECT, offsetof (struct window_mirror, 433 { XD_LISP_OBJECT, offsetof (struct window_mirror,