]> git.eshelyaron.com Git - emacs.git/commit
Pass 'struct json_configuration' as const where possible.
authorPhilipp Stephani <phst@google.com>
Sat, 13 Feb 2021 13:35:30 +0000 (14:35 +0100)
committerPhilipp Stephani <phst@google.com>
Sat, 13 Feb 2021 13:37:19 +0000 (14:37 +0100)
commit1680a1c0945cb0aa7e0e16867a9dacb8316cbf33
tree834389118919eedd08341c972ad4489a9609f2e7
parent625de7e403abb24c2d6ae417622fa8c7d6f55530
Pass 'struct json_configuration' as const where possible.

The JSON serialization and parsing functions don't need to modify
these structures.

* src/json.c (lisp_to_json_nonscalar_1, lisp_to_json_nonscalar)
(lisp_to_json, json_to_lisp): Mark configuration object parameter as
const.
src/json.c