17 lines
377 B
C
17 lines
377 B
C
|
#include <gargoyle/codex.h>
|
||
|
#include <gargoyle/scribe.h>
|
||
|
#include <gargoyle/twine.h>
|
||
|
|
||
|
uint8_t gargoyle_from_bool(struct gargoyle_opt *opt, const char *brand) {
|
||
|
if(opt->val) {
|
||
|
uint8_t *val = opt->val;
|
||
|
*val = !gargoyle_cmp(brand, "no-", 3, GARGOYLE_CMP_ICASE);
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
uint8_t gargoyle_from_rope(struct gargoyle_opt *opt, const char *brand) {
|
||
|
return 0;
|
||
|
}
|