This is used to export access to functions from the main program to the data file. Since the data file is written in an interpretted language, the calls must be translated. helper_func is used to do the translation; func is the function to be called. Functions which have the same return type and take the same number of arguments can generally use the same helper function.
To export a function, add a corresponding entry to table aux_functions
Definition at line 37 of file interpret_aux.c.
Data Fields | |
| void * | func |
| void(* | helper_func )(void *func, long *params, return_info_t *ret) |
|
|
The function to be exported Definition at line 40 of file interpret_aux.c. |
|
|
A helper function which converts parameters and return value to/from the interpreter's format Referenced by interpret_call(). |
1.3.6