]> git.eshelyaron.com Git - emacs.git/commit
Retype traverse_interval arg type from Lisp_Object to void *
authorMattias Engdegård <mattiase@acm.org>
Sun, 14 Jan 2024 10:58:33 +0000 (11:58 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sun, 14 Jan 2024 13:17:40 +0000 (14:17 +0100)
commita9cee9c6675a7002441bdd186402f45eb5379172
tree70b6b29b062ade53af8b2d5c2d8b85e1591bb03c
parentdd83db2e23062642ab964bad226146a8bdac1349
Retype traverse_interval arg type from Lisp_Object to void *

This is a refactoring.  It eliminates a few unnecessary conses and
allows for further improvements.

* src/intervals.c (traverse_intervals):
Change argument type.  All callers adapted.
* src/fns.c (collect_interval, Fsxhash_equal_including_properties)
(Fobject_intervals):
* src/print.c (print_check_string_charset_prop)
(print_prune_string_charset, print_object, print_interval):
Pass a pointer to a Lisp_Object instead of a Lisp_Object.
src/fns.c
src/intervals.c
src/intervals.h
src/print.c