summaryrefslogtreecommitdiff
path: root/src/data.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2001-12-07 12:15:35 +0000
committerAndreas Schwab <schwab@suse.de>2001-12-07 12:15:35 +0000
commit9d113d9d5846e0a0c34af85f22b8a9cf8ac7c78f (patch)
tree61e7d21e4ea910e664303cf85a67f9e06daacfdb /src/data.c
parentb5f1c9fa029b1d377165eb31618c52c4c0a77164 (diff)
downloademacs-9d113d9d5846e0a0c34af85f22b8a9cf8ac7c78f.tar.gz
(Vmost_positive_fixnum, Vmost_negative_fixnum): Renamed
from most_positive_fixnum and most_negative_fixnum, resp., and type changed to Lisp_Object. (syms_of_data): DEFVAR_LISP them.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/data.c b/src/data.c
index 266a1946fa0..f47167af292 100644
--- a/src/data.c
+++ b/src/data.c
@@ -96,7 +96,7 @@ static Lisp_Object Qsubrp, Qmany, Qunevalled;
static Lisp_Object swap_in_symval_forwarding P_ ((Lisp_Object, Lisp_Object));
-int most_positive_fixnum, most_negative_fixnum;
+Lisp_Object Vmost_positive_fixnum, Vmost_negative_fixnum;
void
@@ -3208,13 +3208,13 @@ syms_of_data ()
XSYMBOL (Qwholenump)->function = XSYMBOL (Qnatnump)->function;
- DEFVAR_INT ("most-positive-fixnum", &most_positive_fixnum,
- doc: /* The largest value that is representable in a Lisp integer. */);
- most_positive_fixnum = MOST_POSITIVE_FIXNUM;
+ DEFVAR_LISP ("most-positive-fixnum", &Vmost_positive_fixnum,
+ doc: /* The largest value that is representable in a Lisp integer. */);
+ Vmost_positive_fixnum = make_number (MOST_POSITIVE_FIXNUM);
- DEFVAR_INT ("most-negative-fixnum", &most_negative_fixnum,
- doc: /* The smallest value that is representable in a Lisp integer. */);
- most_negative_fixnum = MOST_NEGATIVE_FIXNUM;
+ DEFVAR_LISP ("most-negative-fixnum", &Vmost_negative_fixnum,
+ doc: /* The smallest value that is representable in a Lisp integer. */);
+ Vmost_negative_fixnum = make_number (MOST_NEGATIVE_FIXNUM);
}
SIGTYPE