Age | Commit message (Collapse) | Author |
|
and `create_key_value_str()`
|
|
This can be used to help with `create_key_value_file()`, and
`create_key_value_str()`.
|
|
`create_key_value_file()`
These functions will help in making the creation of key-value files more
generic.
There still needs to be some more work done on it, but that can be done
later.
|
|
This will be used for creating a getter callback for keywords.
I also renamed `keyword_cb` to `set_keyword_cb`, aswell as renamed
`callback` to `set_callback` in `struct keyword`.
|
|
|
|
|
|
`set_keyword()` now checks the return value of the callback to determine
whether to return early, fallback to the default, or return an error
if the callback returns true, false, and -1 respectivly.
|
|
This will allow for easy parsing of stuff like the PR `info`, PR
`comments`, and config files.
|