summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2015-03-03 09:59:23 -0800
committerDaniel Colascione <dancol@dancol.org>2015-03-03 10:08:08 -0800
commit15ddf7a6f211545b34f22bbab286df91e391b5aa (patch)
tree813965a0cc281143044739d945f4ebc282c1e7b5 /src/alloc.c
parenta6fb5e2de55b936761274f5d0895de178640ec68 (diff)
downloademacs-15ddf7a6f211545b34f22bbab286df91e391b5aa.tar.gz
Rename gc-precise-p to gc-precise
2015-03-03 Daniel Colascione <dancol@dancol.org> * alloc.c (syms_of_alloc): Rename `gc-precise-p' to `gc-precise'. 2015-03-03 Daniel Colascione <dancol@dancol.org> * automated/finalizer-tests.el (finalizer-basic) (finalizer-circular-reference, finalizer-cross-reference) (finalizer-error): Rename `gc-precise-p' to `gc-precise'. * automated/generator-tests.el (cps-test-iter-close-finalizer): Rename `gc-precise-p' to `gc-precise'.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index ff93bf57c26..022782504f1 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -7266,7 +7266,7 @@ init_alloc_once (void)
{
/* Even though Qt's contents are not set up, its address is known. */
Vpurify_flag = Qt;
- gc_precise_p = (GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE);
+ gc_precise = (GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE);
purebeg = PUREBEG;
pure_size = PURESIZE;
@@ -7410,9 +7410,10 @@ The time is in seconds as a floating point value. */);
DEFVAR_INT ("gcs-done", gcs_done,
doc: /* Accumulated number of garbage collections done. */);
- DEFVAR_BOOL ("gc-precise-p", gc_precise_p,
+ DEFVAR_BOOL ("gc-precise", gc_precise,
doc: /* Non-nil means GC stack marking is precise.
Useful mainly for automated GC tests. Build time constant.*/);
+ XSYMBOL (intern_c_string ("gc-precise"))->constant = 1;
defsubr (&Scons);
defsubr (&Slist);