Update GARGOYLE_EZ_OPT to match gargoyle_opt
This commit is contained in:
parent
e7d0b2c114
commit
e3116e473b
|
@ -19,7 +19,7 @@ struct gargoyle_opt {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GARGOYLE_MK_OPT(brand) brand, (sizeof(brand) - 1)
|
#define GARGOYLE_MK_OPT(brand) brand, (sizeof(brand) - 1)
|
||||||
#define GARGOYLE_EZ_OPT(brand) brand, (sizeof(brand) - 1), 0[brand] // >:)
|
#define GARGOYLE_EZ_OPT(brand, val) brand, (sizeof(brand) - 1), 0[brand] /* >:) */, &val, sizeof(val)
|
||||||
|
|
||||||
struct gargoyle_opt *gargoyle_find_brand(uint16_t optc, struct gargoyle_opt *optv, const char *brand);
|
struct gargoyle_opt *gargoyle_find_brand(uint16_t optc, struct gargoyle_opt *optv, const char *brand);
|
||||||
struct gargoyle_opt *gargoyle_find_emblem(uint16_t optc, struct gargoyle_opt *optv, const char emblem);
|
struct gargoyle_opt *gargoyle_find_emblem(uint16_t optc, struct gargoyle_opt *optv, const char emblem);
|
||||||
|
|
Loading…
Reference in New Issue