#ifndef MATH_FUNCTIONS_H #define MATH_FUNCTIONS_H #include #define MAX_MATH_FUNCTION_ARGS 2 typedef double (*math_function_ptr)(const double*); struct math_function { const char *name; size_t num_args; math_function_ptr ptr; }; const struct math_function *fns_get(void); #endif /* MATH_FUNCTIONS_H */