diff options
| author | Dmitry Antipov | 2012-08-07 15:28:41 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-07 15:28:41 +0400 |
| commit | 6a3d20cc46da1e59f230923056b6b351acb097b9 (patch) | |
| tree | 6e770cefc007d5782defbec033fd5f856010af5e /src/alloc.c | |
| parent | c395097f5193c1af5ae44b0adf3023dd0d48e081 (diff) | |
| download | emacs-6a3d20cc46da1e59f230923056b6b351acb097b9.tar.gz emacs-6a3d20cc46da1e59f230923056b6b351acb097b9.zip | |
Basic functions to set Lisp_Object and pointer slots of intervals.
* intervals.h (interval_set_parent, interval_set_object):
(interval_set_left, interval_set_right, interval_set_plist):
(interval_copy_parent): New function.
(SET_INTERVAL_OBJECT, SET_INTERVAL_PARENT, INTERVAL_PTR_SIZE): Remove.
(RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE): Adjust
indentation.
(INTERVAL_SIZE): Remove. Adjust users.
* alloc.c, intervals.c, lread.c, textprop.c: Use new functions.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 615d2f37afa..a9ce48172ab 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -6416,7 +6416,7 @@ gc_sweep (void) | |||
| 6416 | { | 6416 | { |
| 6417 | if (!iblk->intervals[i].gcmarkbit) | 6417 | if (!iblk->intervals[i].gcmarkbit) |
| 6418 | { | 6418 | { |
| 6419 | SET_INTERVAL_PARENT (&iblk->intervals[i], interval_free_list); | 6419 | interval_set_parent (&iblk->intervals[i], interval_free_list); |
| 6420 | interval_free_list = &iblk->intervals[i]; | 6420 | interval_free_list = &iblk->intervals[i]; |
| 6421 | this_free++; | 6421 | this_free++; |
| 6422 | } | 6422 | } |