Mercurial > hg > xemacs-beta
comparison src/extents.h @ 3092:141c2920ea48
[xemacs-hg @ 2005-11-25 01:41:31 by crestani]
Incremental Garbage Collector
author | crestani |
---|---|
date | Fri, 25 Nov 2005 01:42:08 +0000 |
parents | 8c96bdabcaf9 |
children | 257b468bf2ca |
comparison
equal
deleted
inserted
replaced
3091:c22d8984148c | 3092:141c2920ea48 |
---|---|
46 #define XEXTENT_INFO(x) XRECORD (x, extent_info, struct extent_info) | 46 #define XEXTENT_INFO(x) XRECORD (x, extent_info, struct extent_info) |
47 #define wrap_extent_info(p) wrap_record (p, extent_info) | 47 #define wrap_extent_info(p) wrap_record (p, extent_info) |
48 #define EXTENT_INFOP(x) RECORDP (x, extent_info) | 48 #define EXTENT_INFOP(x) RECORDP (x, extent_info) |
49 #define CHECK_EXTENT_INFO(x) CHECK_RECORD (x, extent_info) | 49 #define CHECK_EXTENT_INFO(x) CHECK_RECORD (x, extent_info) |
50 #define CONCHECK_EXTENT_INFO(x) CONCHECK_RECORD (x, extent_info) | 50 #define CONCHECK_EXTENT_INFO(x) CONCHECK_RECORD (x, extent_info) |
51 | |
52 #ifdef NEW_GC | |
53 struct gap_array_marker; | |
54 | |
55 DECLARE_LRECORD (gap_array_marker, struct gap_array_marker); | |
56 #define XGAP_ARRAY_MARKER(x) \ | |
57 XRECORD (x, gap_array_marker, struct gap_array_marker) | |
58 #define wrap_gap_array_marker(p) wrap_record (p, gap_array_marker) | |
59 #define GAP_ARRAY_MARKERP(x) RECORDP (x, gap_array_marker) | |
60 #define CHECK_GAP_ARRAY_MARKER(x) CHECK_RECORD (x, gap_array_marker) | |
61 #define CONCHECK_GAP_ARRAY_MARKER(x) CONCHECK_RECORD (x, gap_array_marker) | |
62 | |
63 struct gap_array; | |
64 | |
65 DECLARE_LRECORD (gap_array, struct gap_array); | |
66 #define XGAP_ARRAY(x) XRECORD (x, gap_array, struct gap_array) | |
67 #define wrap_gap_array(p) wrap_record (p, gap_array) | |
68 #define GAP_ARRAYP(x) RECORDP (x, gap_array) | |
69 #define CHECK_GAP_ARRAY(x) CHECK_RECORD (x, gap_array) | |
70 #define CONCHECK_GAP_ARRAY(x) CONCHECK_RECORD (x, gap_array) | |
71 | |
72 struct extent_list_marker; | |
73 | |
74 DECLARE_LRECORD (extent_list_marker, struct extent_list_marker); | |
75 #define XEXTENT_LIST_MARKER(x) \ | |
76 XRECORD (x, extent_list_marker, struct extent_list_marker) | |
77 #define wrap_extent_list_marker(p) wrap_record (p, extent_list_marker) | |
78 #define EXTENT_LIST_MARKERP(x) RECORDP (x, extent_list_marker) | |
79 #define CHECK_EXTENT_LIST_MARKER(x) CHECK_RECORD (x, extent_list_marker) | |
80 #define CONCHECK_EXTENT_LIST_MARKER(x) CONCHECK_RECORD (x, extent_list_marker) | |
81 | |
82 struct extent_list; | |
83 | |
84 DECLARE_LRECORD (extent_list, struct extent_list); | |
85 #define XEXTENT_LIST(x) XRECORD (x, extent_list, struct extent_list) | |
86 #define wrap_extent_list(p) wrap_record (p, extent_list) | |
87 #define EXTENT_LISTP(x) RECORDP (x, extent_list) | |
88 #define CHECK_EXTENT_LIST(x) CHECK_RECORD (x, extent_list) | |
89 #define CONCHECK_EXTENT_LIST(x) CONCHECK_RECORD (x, extent_list) | |
90 | |
91 struct stack_of_extents; | |
92 | |
93 DECLARE_LRECORD (stack_of_extents, struct stack_of_extents); | |
94 #define XSTACK_OF_EXTENTS(x) \ | |
95 XRECORD (x, stack_of_extents, struct stack_of_extents) | |
96 #define wrap_stack_of_extents(p) wrap_record (p, stack_of_extents) | |
97 #define STACK_OF_EXTENTSP(x) RECORDP (x, stack_of_extents) | |
98 #define CHECK_STACK_OF_EXTENTS(x) CHECK_RECORD (x, stack_of_extents) | |
99 #define CONCHECK_STACK_OF_EXTENTS(x) CONCHECK_RECORD (x, stack_of_extents) | |
100 #endif /* NEW_GC */ | |
51 | 101 |
52 /* the layouts for glyphs (extent->flags.glyph_layout). Must fit in 2 bits. */ | 102 /* the layouts for glyphs (extent->flags.glyph_layout). Must fit in 2 bits. */ |
53 typedef enum glyph_layout | 103 typedef enum glyph_layout |
54 { | 104 { |
55 GL_TEXT, | 105 GL_TEXT, |