diff --git a/include/gargoyle/sleuth.h b/include/gargoyle/sleuth.h index 8e9ffc8..8186f56 100644 --- a/include/gargoyle/sleuth.h +++ b/include/gargoyle/sleuth.h @@ -19,7 +19,7 @@ struct gargoyle_opt { }; #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_emblem(uint16_t optc, struct gargoyle_opt *optv, const char emblem);