aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-12-22 17:37:49 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-12-22 17:37:49 +0200
commitaf6f677758c6b873fb3130b34705e2a705270a75 (patch)
tree64de0a1c1d969e5ce687e873535637c117d60935 /awk.h
parent293b5a86a9053668773e75b35682c41ca64e0db6 (diff)
parentcd820dc4359b8dc1a40fedc0c5d3924ed8f88df0 (diff)
downloadegawk-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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/awk.h b/awk.h
index 43595933..278f54c5 100644
--- a/awk.h
+++ b/awk.h
@@ -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