forked from external/yambar
yml: yml_load(): optionally allocates an error string (on error)
This commit is contained in:
parent
3dc7d0e39d
commit
5abd825137
3 changed files with 24 additions and 8 deletions
2
yml.h
2
yml.h
|
@ -4,7 +4,7 @@
|
|||
|
||||
struct yml_node;
|
||||
|
||||
struct yml_node *yml_load(FILE *yml);
|
||||
struct yml_node *yml_load(FILE *yml, char **error);
|
||||
void yml_destroy(struct yml_node *root);
|
||||
|
||||
bool yml_is_scalar(const struct yml_node *node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue