comparison src/region-cache.h @ 49600:23a1cea22d13

Trailing whitespace deleted.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 04 Feb 2003 14:56:31 +0000
parents 6ab8801244c2
children 695cf19ef79e d7ddb3e565de
comparison
equal deleted inserted replaced
49599:5ade352e8d1c 49600:23a1cea22d13
84 args to pass are the same before and after such an operation.) */ 84 args to pass are the same before and after such an operation.) */
85 extern void invalidate_region_cache P_ ((struct buffer *BUF, 85 extern void invalidate_region_cache P_ ((struct buffer *BUF,
86 struct region_cache *CACHE, 86 struct region_cache *CACHE,
87 int HEAD, int TAIL)); 87 int HEAD, int TAIL));
88 88
89 /* The scanning functions. 89 /* The scanning functions.
90 90
91 Basically, if you're scanning forward/backward from position POS, 91 Basically, if you're scanning forward/backward from position POS,
92 and region_cache_forward/backward returns true, you can skip all 92 and region_cache_forward/backward returns true, you can skip all
93 the text between POS and *NEXT. And if the function returns false, 93 the text between POS and *NEXT. And if the function returns false,
94 you should examine all the text from POS to *NEXT, and call 94 you should examine all the text from POS to *NEXT, and call
95 know_region_cache depending on what you find there; this way, you 95 know_region_cache depending on what you find there; this way, you
96 might be able to avoid scanning it again. */ 96 might be able to avoid scanning it again. */
97 97
98 /* Return true if the text immediately after POS in BUF is known, for 98 /* Return true if the text immediately after POS in BUF is known, for
99 the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest 99 the purposes of CACHE. If NEXT is non-zero, set *NEXT to the nearest
100 position after POS where the knownness changes. */ 100 position after POS where the knownness changes. */
101 extern int region_cache_forward P_ ((struct buffer *BUF, 101 extern int region_cache_forward P_ ((struct buffer *BUF,
102 struct region_cache *CACHE, 102 struct region_cache *CACHE,
103 int POS, 103 int POS,
104 int *NEXT)); 104 int *NEXT));