110 double (*func_ptr)(
double[],
int));
int g2basic_parse(const char *input, double *result, const char **error)
Process one line of input.
int g2basic_register_function(const char *name, int arg_count, double(*func_ptr)(double[], int))
Make a C function callable from BASIC expressions.
void g2basic_init(void(*print_func)(const char *str))
Reset the interpreter and set the text output callback.
void g2basic_set_number_output(void(*print_number)(double value))
Replace the formatter for numbers printed by PRINT.