comparison src/redisplay.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 cc24b630b1d6
children 166ed8151e62
comparison
equal deleted inserted replaced
2550:317f30471f4e 2551:9f70af3ac939
520 static const struct sized_memory_description rune_dglyph_description = { 520 static const struct sized_memory_description rune_dglyph_description = {
521 sizeof (struct rune_dglyph), rune_dglyph_description_1 521 sizeof (struct rune_dglyph), rune_dglyph_description_1
522 }; 522 };
523 523
524 static const struct memory_description rune_object_description_1[] = { 524 static const struct memory_description rune_object_description_1[] = {
525 { XD_BLOCK_ARRAY, RUNE_DGLYPH, 1, &rune_dglyph_description }, 525 { XD_BLOCK_ARRAY, RUNE_DGLYPH, 1, { &rune_dglyph_description } },
526 { XD_END } 526 { XD_END }
527 }; 527 };
528 528
529 static const struct sized_memory_description rune_object_description = { 529 static const struct sized_memory_description rune_object_description = {
530 0, rune_object_description_1 530 0, rune_object_description_1
531 }; 531 };
532 532
533 static const struct memory_description rune_description_1[] = { 533 static const struct memory_description rune_description_1[] = {
534 { XD_INT, offsetof (rune, type) }, 534 { XD_INT, offsetof (rune, type) },
535 { XD_UNION, offsetof (rune, object), 535 { XD_UNION, offsetof (rune, object),
536 XD_INDIRECT (0, 0), &rune_object_description }, 536 XD_INDIRECT (0, 0), { &rune_object_description } },
537 { XD_END } 537 { XD_END }
538 }; 538 };
539 539
540 static const struct sized_memory_description rune_description = { 540 static const struct sized_memory_description rune_description = {
541 sizeof (rune), 541 sizeof (rune),
552 rune_dynarr_description_1 552 rune_dynarr_description_1
553 }; 553 };
554 554
555 static const struct memory_description display_block_description_1[] = { 555 static const struct memory_description display_block_description_1[] = {
556 { XD_BLOCK_PTR, offsetof (display_block, runes), 556 { XD_BLOCK_PTR, offsetof (display_block, runes),
557 1, &rune_dynarr_description }, 557 1, { &rune_dynarr_description } },
558 { XD_END } 558 { XD_END }
559 }; 559 };
560 560
561 static const struct sized_memory_description display_block_description = { 561 static const struct sized_memory_description display_block_description = {
562 sizeof (display_block), 562 sizeof (display_block),
594 glyph_block_dynarr_description_1 594 glyph_block_dynarr_description_1
595 }; 595 };
596 596
597 static const struct memory_description display_line_description_1[] = { 597 static const struct memory_description display_line_description_1[] = {
598 { XD_BLOCK_PTR, offsetof (display_line, display_blocks), 598 { XD_BLOCK_PTR, offsetof (display_line, display_blocks),
599 1, &display_block_dynarr_description }, 599 1, { &display_block_dynarr_description } },
600 { XD_BLOCK_PTR, offsetof (display_line, left_glyphs), 600 { XD_BLOCK_PTR, offsetof (display_line, left_glyphs),
601 1, &glyph_block_dynarr_description }, 601 1, { &glyph_block_dynarr_description } },
602 { XD_BLOCK_PTR, offsetof (display_line, right_glyphs), 602 { XD_BLOCK_PTR, offsetof (display_line, right_glyphs),
603 1, &glyph_block_dynarr_description }, 603 1, { &glyph_block_dynarr_description } },
604 { XD_END } 604 { XD_END }
605 }; 605 };
606 606
607 static const struct sized_memory_description display_line_description = { 607 static const struct sized_memory_description display_line_description = {
608 sizeof (display_line), 608 sizeof (display_line),