comparison src/glyphs.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 902d5bd9b75c
children 6fa9919a9a0b
comparison
equal deleted inserted replaced
2550:317f30471f4e 2551:9f70af3ac939
874 sizeof (struct subwindow_image_instance), subwindow_image_instance_description_1 874 sizeof (struct subwindow_image_instance), subwindow_image_instance_description_1
875 }; 875 };
876 876
877 static const struct memory_description image_instance_data_description_1 [] = { 877 static const struct memory_description image_instance_data_description_1 [] = {
878 { XD_BLOCK_ARRAY, IMAGE_TEXT, 878 { XD_BLOCK_ARRAY, IMAGE_TEXT,
879 1, &text_image_instance_description }, 879 1, { &text_image_instance_description } },
880 { XD_BLOCK_ARRAY, IMAGE_MONO_PIXMAP, 880 { XD_BLOCK_ARRAY, IMAGE_MONO_PIXMAP,
881 1, &pixmap_image_instance_description }, 881 1, { &pixmap_image_instance_description } },
882 { XD_BLOCK_ARRAY, IMAGE_COLOR_PIXMAP, 882 { XD_BLOCK_ARRAY, IMAGE_COLOR_PIXMAP,
883 1, &pixmap_image_instance_description }, 883 1, { &pixmap_image_instance_description } },
884 { XD_BLOCK_ARRAY, IMAGE_WIDGET, 884 { XD_BLOCK_ARRAY, IMAGE_WIDGET,
885 1, &subwindow_image_instance_description }, 885 1, { &subwindow_image_instance_description } },
886 { XD_END } 886 { XD_END }
887 }; 887 };
888 888
889 static const struct sized_memory_description image_instance_data_description = { 889 static const struct sized_memory_description image_instance_data_description = {
890 0, image_instance_data_description_1 890 0, image_instance_data_description_1
896 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, device) }, 896 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, device) },
897 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, name) }, 897 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, name) },
898 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, parent) }, 898 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, parent) },
899 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, instantiator) }, 899 { XD_LISP_OBJECT, offsetof (Lisp_Image_Instance, instantiator) },
900 { XD_UNION, offsetof (struct Lisp_Image_Instance, u), 900 { XD_UNION, offsetof (struct Lisp_Image_Instance, u),
901 XD_INDIRECT (0, 0), &image_instance_data_description }, 901 XD_INDIRECT (0, 0), { &image_instance_data_description } },
902 { XD_END } 902 { XD_END }
903 }; 903 };
904 904
905 static Lisp_Object 905 static Lisp_Object
906 mark_image_instance (Lisp_Object obj) 906 mark_image_instance (Lisp_Object obj)
5262 }; 5262 };
5263 5263
5264 static const struct memory_description iife_description_1[] = { 5264 static const struct memory_description iife_description_1[] = {
5265 { XD_LISP_OBJECT, offsetof (image_instantiator_format_entry, symbol) }, 5265 { XD_LISP_OBJECT, offsetof (image_instantiator_format_entry, symbol) },
5266 { XD_LISP_OBJECT, offsetof (image_instantiator_format_entry, device) }, 5266 { XD_LISP_OBJECT, offsetof (image_instantiator_format_entry, device) },
5267 { XD_BLOCK_PTR, offsetof (image_instantiator_format_entry, meths), 1, &iim_description }, 5267 { XD_BLOCK_PTR, offsetof (image_instantiator_format_entry, meths), 1,
5268 { &iim_description } },
5268 { XD_END } 5269 { XD_END }
5269 }; 5270 };
5270 5271
5271 static const struct sized_memory_description iife_description = { 5272 static const struct sized_memory_description iife_description = {
5272 sizeof (image_instantiator_format_entry), 5273 sizeof (image_instantiator_format_entry),
5284 }; 5285 };
5285 5286
5286 static const struct memory_description iim_description_1[] = { 5287 static const struct memory_description iim_description_1[] = {
5287 { XD_LISP_OBJECT, offsetof (struct image_instantiator_methods, symbol) }, 5288 { XD_LISP_OBJECT, offsetof (struct image_instantiator_methods, symbol) },
5288 { XD_LISP_OBJECT, offsetof (struct image_instantiator_methods, device) }, 5289 { XD_LISP_OBJECT, offsetof (struct image_instantiator_methods, device) },
5289 { XD_BLOCK_PTR, offsetof (struct image_instantiator_methods, keywords), 1, &iiked_description }, 5290 { XD_BLOCK_PTR, offsetof (struct image_instantiator_methods, keywords), 1,
5290 { XD_BLOCK_PTR, offsetof (struct image_instantiator_methods, consoles), 1, &cted_description }, 5291 { &iiked_description } },
5292 { XD_BLOCK_PTR, offsetof (struct image_instantiator_methods, consoles), 1,
5293 { &cted_description } },
5291 { XD_END } 5294 { XD_END }
5292 }; 5295 };
5293 5296
5294 const struct sized_memory_description iim_description = { 5297 const struct sized_memory_description iim_description = {
5295 sizeof (struct image_instantiator_methods), 5298 sizeof (struct image_instantiator_methods),