aboutsummaryrefslogtreecommitdiff
path: root/src/misc/types.h
diff options
context:
space:
mode:
authorJ08nY2017-09-29 18:24:25 +0200
committerJ08nY2017-09-29 18:24:25 +0200
commit73ae939ffee2c0fc027d9ac5d07b479d8e967a8c (patch)
tree30c5f6bd04c5e77e9ac2ca7897bbc3d9b0e05a15 /src/misc/types.h
parent392b41421af7f54fae009dee0fdac5659a248256 (diff)
downloadecgen-73ae939ffee2c0fc027d9ac5d07b479d8e967a8c.tar.gz
ecgen-73ae939ffee2c0fc027d9ac5d07b479d8e967a8c.tar.zst
ecgen-73ae939ffee2c0fc027d9ac5d07b479d8e967a8c.zip
Diffstat (limited to 'src/misc/types.h')
-rw-r--r--src/misc/types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc/types.h b/src/misc/types.h
index e80789f..958ab63 100644
--- a/src/misc/types.h
+++ b/src/misc/types.h
@@ -141,9 +141,11 @@ typedef UNROLL((*unroll_f));
* @brief A check function type.
* @param curve A curve_t being checked
* @param cfg An application config
+ * @param args Current optional generator argument
* @return state diff
*/
-#define CHECK(check_name) int check_name(curve_t *curve, const config_t *cfg)
+#define CHECK(check_name) \
+ GENERATOR(check_name)
typedef CHECK((*check_f));