Merge branch 'master' into for-steve
[sxemacs] / src / line-number.h
1 /* Copyright (C) 1997, Free Software Foundation, Inc.
2
3 This file is part of SXEmacs
4
5 SXEmacs is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 SXEmacs is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>. */
17
18
19 #ifndef INCLUDED_line_number_h_
20 #define INCLUDED_line_number_h_
21
22 /* Synched up with: Not in FSF. */
23
24 void narrow_line_number_cache(struct buffer *);
25 void insert_invalidate_line_number_cache(struct buffer *, Bufpos,
26                                          const Bufbyte *, Bytecount);
27 void delete_invalidate_line_number_cache(struct buffer *, Bufpos, Bufpos);
28
29 EMACS_INT buffer_line_number(struct buffer *, Bufpos, int);
30
31 #endif                          /* INCLUDED_line_number_h_ */