[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49660: 28.0.50; json-available-p should exist
From: |
Lars Ingebrigtsen |
Subject: |
bug#49660: 28.0.50; json-available-p should exist |
Date: |
Tue, 20 Jul 2021 17:50:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> If you are ready to define json-available-p somewhere other than
> json.c, then you could simply do that in subr.el or somesuch. It
> would be cleaner than defining stubs in loadup.el.
The meats of json-available-p have to be in json.c, though? (It has to
call init_json_functions (on Windows) to see whether we have the DLL or
not.)
We could have a json--available-p in json.c that does that, but it
doesn't seem less hackey... but I guess it doesn't really matter
much -- neither solution is super clean.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no