aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
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