X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Finsdel.h;h=70452ae0242118009df6b0f90c44c0061a7e1f6f;hb=4f528836321c6ae1ab494cc48367c8c4d2a71549;hp=0de1d3fbe5e925d7f74dec31c17a3a4802d28df1;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/src/insdel.h b/src/insdel.h index 0de1d3f..70452ae 100644 --- a/src/insdel.h +++ b/src/insdel.h @@ -22,8 +22,8 @@ Boston, MA 02111-1307, USA. */ /* Mostly rewritten by Ben Wing. */ -#ifndef _XEMACS_INSDEL_H_ -#define _XEMACS_INSDEL_H_ +#ifndef INCLUDED_insdel_h_ +#define INCLUDED_insdel_h_ /************************************************************************/ /* changing a buffer's text */ @@ -38,16 +38,16 @@ void end_multiple_change (struct buffer *buf, int count); #define INSDEL_NO_LOCKING 2 Charcount buffer_insert_string_1 (struct buffer *buf, Bufpos pos, - CONST Bufbyte *nonreloc, Lisp_Object reloc, + const Bufbyte *nonreloc, Lisp_Object reloc, Bytecount offset, Bytecount length, int flags); Charcount buffer_insert_raw_string_1 (struct buffer *buf, Bufpos pos, - CONST Bufbyte *nonreloc, + const Bufbyte *nonreloc, Bytecount length, int flags); Charcount buffer_insert_lisp_string_1 (struct buffer *buf, Bufpos pos, Lisp_Object str, int flags); Charcount buffer_insert_c_string_1 (struct buffer *buf, Bufpos pos, - CONST char *s, int flags); + const char *s, int flags); Charcount buffer_insert_emacs_char_1 (struct buffer *buf, Bufpos pos, Emchar ch, int flags); Charcount buffer_insert_c_char_1 (struct buffer *buf, Bufpos pos, char c, @@ -140,11 +140,11 @@ void buffer_reset_changes (struct buffer *buf); /************************************************************************/ Memind do_marker_adjustment (Memind mpos, Memind from, - Memind to, int amount); + Memind to, Bytecount amount); -void fixup_internal_substring (CONST Bufbyte *nonreloc, +void fixup_internal_substring (const Bufbyte *nonreloc, Lisp_Object reloc, - int offset, int *len); + Bytecount offset, Bytecount *len); /* In font-lock.c */ void font_lock_maybe_update_syntactic_caches (struct buffer *buf, @@ -156,7 +156,7 @@ void font_lock_buffer_was_killed (struct buffer *buf); void barf_if_buffer_read_only (struct buffer *buf, Bufpos from, Bufpos to); -void init_buffer_text (struct buffer *b, int indirect_p); -void uninit_buffer_text (struct buffer *b, int indirect_p); +void init_buffer_text (struct buffer *b); +void uninit_buffer_text (struct buffer *b); -#endif /* _XEMACS_INSDEL_H_ */ +#endif /* INCLUDED_insdel_h_ */