aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intervals.h')
-rw-r--r--src/intervals.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intervals.h b/src/intervals.h
index 45c2e5f5e54..e901f99747d 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -134,6 +134,14 @@ struct interval
134 or pointer slots of struct interval. */ 134 or pointer slots of struct interval. */
135 135
136INLINE void 136INLINE void
137set_interval_object (INTERVAL i, Lisp_Object obj)
138{
139 eassert (BUFFERP (obj) || STRINGP (obj));
140 i->up_obj = 1;
141 i->up.obj = obj;
142}
143
144INLINE void
137set_interval_parent (INTERVAL i, INTERVAL parent) 145set_interval_parent (INTERVAL i, INTERVAL parent)
138{ 146{
139 i->up_obj = false; 147 i->up_obj = false;