diff options
Diffstat (limited to 'src/math/types.h')
| -rw-r--r-- | src/math/types.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/math/types.h b/src/math/types.h index 7124573..575f583 100644 --- a/src/math/types.h +++ b/src/math/types.h @@ -40,8 +40,13 @@ enum curve_offset { OFFSET_END }; -typedef int (*gen_t)(curve_t *, config_t *, ...); +typedef struct arg_t { + void *args; + size_t nargs; +} arg_t; -int gen_skip(curve_t *curve, config_t *config, ...); +typedef int (*gen_t)(curve_t *, config_t *, arg_t *args); + +int gen_skip(curve_t *curve, config_t *config, arg_t *args); #endif // ECGEN_TYPES_H |
