aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 52110fbbaf4..c672b5f3192 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -4347,6 +4347,12 @@ extern void *record_xmalloc (size_t);
4347 memory_full (SIZE_MAX); \ 4347 memory_full (SIZE_MAX); \
4348 } while (0) 4348 } while (0)
4349 4349
4350/* Do a `for' loop over alist values. */
4351
4352#define FOR_EACH_ALIST_VALUE(head_var, list_var, value_var) \
4353 for (list_var = head_var; \
4354 (CONSP (list_var) && (value_var = XCDR (XCAR (list_var)), 1)); \
4355 list_var = XCDR (list_var))
4350 4356
4351/* Check whether it's time for GC, and run it if so. */ 4357/* Check whether it's time for GC, and run it if so. */
4352 4358