aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 4a538045a80..dcdc23ef3f0 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2358,7 +2358,8 @@ aref_addr (Lisp_Object array, ptrdiff_t idx)
2358LISP_INLINE void 2358LISP_INLINE void
2359gc_aset (Lisp_Object array, ptrdiff_t idx, Lisp_Object val) 2359gc_aset (Lisp_Object array, ptrdiff_t idx, Lisp_Object val)
2360{ 2360{
2361 /* Like ASET, but also can be used in the garbage collector. */ 2361 /* Like ASET, but also can be used in the garbage collector:
2362 sweep_weak_table calls set_hash_key etc. while the table is marked. */
2362 eassert (0 <= idx && idx < (ASIZE (array) & ~ARRAY_MARK_FLAG)); 2363 eassert (0 <= idx && idx < (ASIZE (array) & ~ARRAY_MARK_FLAG));
2363 XVECTOR (array)->contents[idx] = val; 2364 XVECTOR (array)->contents[idx] = val;
2364} 2365}