comparison config.h @ 1489:637fbc3b5063 nuklear_ui

Added code to persist config back to a file
author Michael Pavone <pavone@retrodev.com>
date Wed, 29 Nov 2017 08:41:37 -0800
parents 369da70ee2c2
children 6ce36c3f250b
comparison
equal deleted inserted replaced
1488:f29bd94ffa76 1489:637fbc3b5063
8 #include "tern.h" 8 #include "tern.h"
9 9
10 tern_node *parse_config_file(char *config_path); 10 tern_node *parse_config_file(char *config_path);
11 tern_node *parse_bundled_config(char *config_name); 11 tern_node *parse_bundled_config(char *config_name);
12 tern_node *load_config(); 12 tern_node *load_config();
13 char *serialize_config(tern_node *config, uint32_t *size_out);
14 uint8_t serialize_config_file(tern_node *config, char *path);
15 void persist_config(tern_node *config);
13 char **get_extension_list(tern_node *config, uint32_t *num_exts_out); 16 char **get_extension_list(tern_node *config, uint32_t *num_exts_out);
14 17
15 #endif //CONFIG_H_ 18 #endif //CONFIG_H_
16 19