Debian Codegraph @

modules/lsp-runtime-lib/src/main/fmt/json/token.cpp

raw
1 /*
2 * Copyright (C) 2021 Linux Studio Plugins Project <https://lsp-plug.in/>
3 * (C) 2021 Vladimir Sadovnikov <[email protected]>
4 *
5 * This file is part of lsp-runtime-lib
6 * Created on: 24 февр. 2021 г.
7 *
8 * lsp-runtime-lib is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * any later version.
12 *
13 * lsp-runtime-lib is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with lsp-runtime-lib. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22 #include <lsp-plug.in/fmt/json/token.h>
23
24 namespace lsp
25 {
26 namespace json
27 {
28 void init_serial_flags(serial_flags_t *dst)
29 {
30 dst->version = JSON_LEGACY;
31 dst->identifiers = false;
32 dst->ident = ' ';
33 dst->padding = 0;
34 dst->separator = false;
35 dst->multiline = false;
36 dst->fmt_double = NULL;
37 }
38 }
39 }