comparison src/insdel.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 6240c7796c7a
children 697ef44129c6
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
20 20
21 /* Synched up with: Not in FSF. */ 21 /* Synched up with: Not in FSF. */
22 22
23 /* Mostly rewritten by Ben Wing. */ 23 /* Mostly rewritten by Ben Wing. */
24 24
25 #ifndef _XEMACS_INSDEL_H_ 25 #ifndef INCLUDED_insdel_h_
26 #define _XEMACS_INSDEL_H_ 26 #define INCLUDED_insdel_h_
27 27
28 /************************************************************************/ 28 /************************************************************************/
29 /* changing a buffer's text */ 29 /* changing a buffer's text */
30 /************************************************************************/ 30 /************************************************************************/
31 31
36 36
37 #define INSDEL_BEFORE_MARKERS 1 37 #define INSDEL_BEFORE_MARKERS 1
38 #define INSDEL_NO_LOCKING 2 38 #define INSDEL_NO_LOCKING 2
39 39
40 Charcount buffer_insert_string_1 (struct buffer *buf, Bufpos pos, 40 Charcount buffer_insert_string_1 (struct buffer *buf, Bufpos pos,
41 CONST Bufbyte *nonreloc, Lisp_Object reloc, 41 const Bufbyte *nonreloc, Lisp_Object reloc,
42 Bytecount offset, Bytecount length, 42 Bytecount offset, Bytecount length,
43 int flags); 43 int flags);
44 Charcount buffer_insert_raw_string_1 (struct buffer *buf, Bufpos pos, 44 Charcount buffer_insert_raw_string_1 (struct buffer *buf, Bufpos pos,
45 CONST Bufbyte *nonreloc, 45 const Bufbyte *nonreloc,
46 Bytecount length, int flags); 46 Bytecount length, int flags);
47 Charcount buffer_insert_lisp_string_1 (struct buffer *buf, Bufpos pos, 47 Charcount buffer_insert_lisp_string_1 (struct buffer *buf, Bufpos pos,
48 Lisp_Object str, int flags); 48 Lisp_Object str, int flags);
49 Charcount buffer_insert_c_string_1 (struct buffer *buf, Bufpos pos, 49 Charcount buffer_insert_c_string_1 (struct buffer *buf, Bufpos pos,
50 CONST char *s, int flags); 50 const char *s, int flags);
51 Charcount buffer_insert_emacs_char_1 (struct buffer *buf, Bufpos pos, 51 Charcount buffer_insert_emacs_char_1 (struct buffer *buf, Bufpos pos,
52 Emchar ch, int flags); 52 Emchar ch, int flags);
53 Charcount buffer_insert_c_char_1 (struct buffer *buf, Bufpos pos, char c, 53 Charcount buffer_insert_c_char_1 (struct buffer *buf, Bufpos pos, char c,
54 int flags); 54 int flags);
55 Charcount buffer_insert_from_buffer_1 (struct buffer *buf, Bufpos pos, 55 Charcount buffer_insert_from_buffer_1 (struct buffer *buf, Bufpos pos,
138 /************************************************************************/ 138 /************************************************************************/
139 /* other related functions */ 139 /* other related functions */
140 /************************************************************************/ 140 /************************************************************************/
141 141
142 Memind do_marker_adjustment (Memind mpos, Memind from, 142 Memind do_marker_adjustment (Memind mpos, Memind from,
143 Memind to, int amount); 143 Memind to, Bytecount amount);
144 144
145 void fixup_internal_substring (CONST Bufbyte *nonreloc, 145 void fixup_internal_substring (const Bufbyte *nonreloc,
146 Lisp_Object reloc, 146 Lisp_Object reloc,
147 int offset, int *len); 147 Bytecount offset, Bytecount *len);
148 148
149 /* In font-lock.c */ 149 /* In font-lock.c */
150 void font_lock_maybe_update_syntactic_caches (struct buffer *buf, 150 void font_lock_maybe_update_syntactic_caches (struct buffer *buf,
151 Bufpos start, 151 Bufpos start,
152 Bufpos orig_end, 152 Bufpos orig_end,
157 Bufpos to); 157 Bufpos to);
158 158
159 void init_buffer_text (struct buffer *b); 159 void init_buffer_text (struct buffer *b);
160 void uninit_buffer_text (struct buffer *b); 160 void uninit_buffer_text (struct buffer *b);
161 161
162 #endif /* _XEMACS_INSDEL_H_ */ 162 #endif /* INCLUDED_insdel_h_ */