summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-07-28 19:24:22 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-07-28 19:24:22 -0300
commit47a5abd3ce92592c87f86d0cf33f57fff687c246 (patch)
tree93b9d4375556a36bc9ad63001f6455c280b21768 /misc.c
parent2ddb5741c9d6c8a0942e0a73f66d21617cf378e8 (diff)
keyword: Make `keyword_cb`, and `set_keyword()` return an `int`
`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.
Diffstat (limited to 'misc.c')
0 files changed, 0 insertions, 0 deletions