diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2014-09-04 09:38:08 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2014-09-04 09:38:08 +0300 |
commit | 611353597e20081bd0c72617e24fa5ff4c63dac1 (patch) | |
tree | c6099826973ea7f036f5a0c7b7536f17b25576a1 /awk.h | |
parent | cb92ab7aa657c57446cc9e0087f1364adaac8fee (diff) | |
download | egawk-611353597e20081bd0c72617e24fa5ff4c63dac1.tar.gz egawk-611353597e20081bd0c72617e24fa5ff4c63dac1.tar.bz2 egawk-611353597e20081bd0c72617e24fa5ff4c63dac1.zip |
Make indirect calls work on built-in and extension functions.
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1377,6 +1377,8 @@ extern void register_deferred_variable(const char *name, NODE *(*load_func)(void extern int files_are_same(char *path, SRCFILE *src); extern void valinfo(NODE *n, Func_print print_func, FILE *fp); extern void negate_num(NODE *n); +typedef NODE *(*builtin_func_t)(int); /* function that implements a built-in */ +extern builtin_func_t lookup_builtin(const char *name); /* builtin.c */ extern double double_to_int(double d); extern NODE *do_exp(int nargs); |