mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-02 22:57:59 +03:00
move #ifdefs to a JSON config
This commit is contained in:
parent
1b3bd187bc
commit
1eb83cd242
11 changed files with 1543 additions and 21 deletions
9
src/json_utils.h
Normal file
9
src/json_utils.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef TR1M_JSON_UTILS_H
|
||||
#define TR1M_JSON_UTILS_H
|
||||
|
||||
#include "json-parser/json.h"
|
||||
|
||||
json_value *get_json_field(json_value *root, json_type fieldType, const char *name, int *pIndex);
|
||||
int get_json_boolean_field_value(json_value *root, const char *name);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue