Mercurial > emacs
diff src/lisp.h @ 112318:deae5bb3f0f6
Give a name FLOAT_TO_STRING_BUFSIZE to the constant 350.
* lisp.h (FLOAT_TO_STRING_BUFSIZE): New macro.
* data.c (Fnumber_to_string): Use it.
* print.c (float_to_string, print_object): Likewise.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 09 Jan 2011 00:21:21 -0800 |
parents | 4ef5cb86f2e8 |
children | 28ca83ef1128 |
line wrap: on
line diff
--- a/src/lisp.h Sun Jan 09 00:12:35 2011 -0800 +++ b/src/lisp.h Sun Jan 09 00:21:21 2011 -0800 @@ -2781,6 +2781,7 @@ Lisp_Object); extern Lisp_Object internal_with_output_to_temp_buffer (const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object); +#define FLOAT_TO_STRING_BUFSIZE 350 extern void float_to_string (unsigned char *, double); extern void syms_of_print (void);