[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use define_error outside of json.c
From: |
Eli Zaretskii |
Subject: |
Re: Use define_error outside of json.c |
Date: |
Tue, 27 Jul 2021 17:01:21 +0300 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Mon, 26 Jul 2021 16:01:30 -0400
>
> I find define_error in json.c very useful and want to use it outside of
> json.c, where should I move the declaration and definition?
Move it to eval.c and remove the 'static' qualifier from it. Then add
a prototype to lisp.h.