Mercurial > hg > xemacs-beta
diff src/insdel.h @ 272:c5d627a313b1 r21-0b34
Import from CVS: tag r21-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:28:48 +0200 |
parents | 376386a54a3c |
children | 6240c7796c7a |
line wrap: on
line diff
--- a/src/insdel.h Mon Aug 13 10:27:41 2007 +0200 +++ b/src/insdel.h Mon Aug 13 10:28:48 2007 +0200 @@ -29,9 +29,8 @@ /* changing a buffer's text */ /************************************************************************/ -extern int begin_multiple_change (struct buffer *buf, Bufpos start, - Bufpos end); -extern void end_multiple_change (struct buffer *buf, int count); +int begin_multiple_change (struct buffer *buf, Bufpos start, Bufpos end); +void end_multiple_change (struct buffer *buf, int count); /* flags for functions below */ @@ -75,12 +74,10 @@ #define buffer_insert_from_buffer(buf, b, index, length) \ buffer_insert_from_buffer_1 (buf, -1, b, index, length, 0) -extern void buffer_delete_range (struct buffer *buf, Bufpos from, Bufpos to, - int flags); -extern void buffer_replace_char (struct buffer *b, Bufpos pos, Emchar ch, - int not_real_change, int force_lock_check); - - +void buffer_delete_range (struct buffer *buf, Bufpos from, Bufpos to, + int flags); +void buffer_replace_char (struct buffer *b, Bufpos pos, Emchar ch, + int not_real_change, int force_lock_check); /************************************************************************/ @@ -131,11 +128,10 @@ #define BUF_NEWLINE_WAS_DELETED(buf) \ ((buf)->changes->newline_was_deleted) -extern void buffer_extent_signal_changed_region (struct buffer *buf, - Bufpos start, - Bufpos end); -extern void buffer_reset_changes (struct buffer *buf); - +void buffer_extent_signal_changed_region (struct buffer *buf, + Bufpos start, + Bufpos end); +void buffer_reset_changes (struct buffer *buf); @@ -143,32 +139,24 @@ /* other related functions */ /************************************************************************/ -extern Memind do_marker_adjustment (Memind mpos, Memind from, - Memind to, int amount); +Memind do_marker_adjustment (Memind mpos, Memind from, + Memind to, int amount); -extern void fixup_internal_substring (CONST Bufbyte *nonreloc, - Lisp_Object reloc, - int offset, int *len); +void fixup_internal_substring (CONST Bufbyte *nonreloc, + Lisp_Object reloc, + int offset, int *len); /* In font-lock.c */ -extern void font_lock_maybe_update_syntactic_caches (struct buffer *buf, - Bufpos start, - Bufpos orig_end, - Bufpos new_end); -extern void font_lock_buffer_was_killed (struct buffer *buf); - -extern void barf_if_buffer_read_only (struct buffer *buf, Bufpos from, - Bufpos to); +void font_lock_maybe_update_syntactic_caches (struct buffer *buf, + Bufpos start, + Bufpos orig_end, + Bufpos new_end); +void font_lock_buffer_was_killed (struct buffer *buf); -/* In marker.c */ -void init_buffer_markers (struct buffer *b); -void uninit_buffer_markers (struct buffer *b); +void barf_if_buffer_read_only (struct buffer *buf, Bufpos from, + Bufpos to); -extern Lisp_Object make_string_from_buffer (struct buffer *buf, Bufpos pos, - Charcount length); -extern void init_buffer_text (struct buffer *b, int indirect_p); -extern void uninit_buffer_text (struct buffer *b, int indirect_p); - - +void init_buffer_text (struct buffer *b, int indirect_p); +void uninit_buffer_text (struct buffer *b, int indirect_p); #endif /* _XEMACS_INSDEL_H_ */