Mercurial > emacs
comparison src/buffer.c @ 110554:e49fcbdc458f
Fix int/EMACS_INT in eval.c and indent.c, correct previous changes.
indent.c (Fcurrent_indentation, indented_beyond_p)
(compute_motion): Use EMACS_INT for buffer position variables.
lisp.h (indented_beyond_p): Adjust prototype.
buffer.c (overlay_strings): Return EMACS_INT.
buffer.h (overlay_strings): Adjust prototype.
region-cache.c (pp_cache): Adjust format to arguments.
eval.c <specpdl_size, lisp_eval_depth>: Declare EMACS_INT.
(call_debugger): Use EMACS_INT for specpdl_size related variables.
(verror): Use EMACS_INT for size of allocated buffer.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Fri, 24 Sep 2010 15:30:13 -0400 |
| parents | 6ae8bab9b79a |
| children | bec49af30c2f |
comparison
equal
deleted
inserted
replaced
| 110553:eb608280bd3b | 110554:e49fcbdc458f |
|---|---|
| 3132 | 3132 |
| 3133 Returns the string length, and stores the contents indirectly through | 3133 Returns the string length, and stores the contents indirectly through |
| 3134 PSTR, if that variable is non-null. The string may be overwritten by | 3134 PSTR, if that variable is non-null. The string may be overwritten by |
| 3135 subsequent calls. */ | 3135 subsequent calls. */ |
| 3136 | 3136 |
| 3137 int | 3137 EMACS_INT |
| 3138 overlay_strings (EMACS_INT pos, struct window *w, unsigned char **pstr) | 3138 overlay_strings (EMACS_INT pos, struct window *w, unsigned char **pstr) |
| 3139 { | 3139 { |
| 3140 Lisp_Object overlay, window, str; | 3140 Lisp_Object overlay, window, str; |
| 3141 struct Lisp_Overlay *ov; | 3141 struct Lisp_Overlay *ov; |
| 3142 EMACS_INT startpos, endpos; | 3142 EMACS_INT startpos, endpos; |
