]> git.eshelyaron.com Git - emacs.git/commit
Fix the native JSON support code
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 Mar 2024 16:33:23 +0000 (19:33 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 30 Mar 2024 19:37:39 +0000 (20:37 +0100)
commitbfea37532aef763ad3ebe1b2c74edfbebbadaf14
tree18089e5a5c8589b8f6e38d551f20efbaff78a583
parent11f624d419b0de959c1e656c17ed4f0e62e1e676
Fix the native JSON support code

* src/Makefile.in (base_obj): Add the missing json.o.  Without
this, we get link error.
* src/json.c (json_serialize): Don't use too sophisticated C99
features, as they confuse make-docfile.  Initialize all the
members explicitly.

(cherry picked from commit 000f919b3c7779609dc43773fdc49aca9b50d76f)
src/Makefile.in
src/json.c