diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-12-22 17:37:49 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-12-22 17:37:49 +0200 |
commit | af6f677758c6b873fb3130b34705e2a705270a75 (patch) | |
tree | 64de0a1c1d969e5ce687e873535637c117d60935 /awk.h | |
parent | 293b5a86a9053668773e75b35682c41ca64e0db6 (diff) | |
parent | cd820dc4359b8dc1a40fedc0c5d3924ed8f88df0 (diff) | |
download | egawk-af6f677758c6b873fb3130b34705e2a705270a75.tar.gz egawk-af6f677758c6b873fb3130b34705e2a705270a75.tar.bz2 egawk-af6f677758c6b873fb3130b34705e2a705270a75.zip |
Merge branch 'feature/regex-to-api' into feature/andy
Diffstat (limited to 'awk.h')
-rw-r--r-- | awk.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -767,7 +767,9 @@ typedef struct exp_instruction { NODE *dn; struct exp_instruction *di; NODE *(*fptr)(int); - awk_value_t *(*efptr)(int, awk_value_t *); + awk_value_t *(*efptr)(int num_actual_args, + awk_value_t *result, + struct awk_ext_func *finfo); long dl; char *name; } d; @@ -778,6 +780,7 @@ typedef struct exp_instruction { void (*aptr)(void); struct exp_instruction *xi; struct break_point *bpt; + awk_ext_func_t *exf; } x; short source_line; @@ -793,6 +796,8 @@ typedef struct exp_instruction { #define expr_count x.xl +#define c_func x.exf + #define target_continue d.di #define target_jmp d.di #define target_break x.xi |