[host] all: make the downsample rule matching common

This commit is contained in:
Geoffrey McRae
2023-11-07 10:19:24 +11:00
parent 6c7f3c4197
commit 30c577beeb
6 changed files with 37 additions and 120 deletions

View File

@@ -37,6 +37,8 @@ extern Vector downsampleRules;
bool downsampleParser(struct Option * opt, const char * str);
DownsampleRule * downsampleRule_match(int x, int y);
#define DOWNSAMPLE_PARSER(moduleName) \
{ \
.module = moduleName, \