aboutgitcodelistschat:MatrixIRC
path: root/gluten.h
diff options
context:
space:
mode:
Diffstat (limited to 'gluten.h')
-rw-r--r--gluten.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gluten.h b/gluten.h
index c6cac3c..ae5e212 100644
--- a/gluten.h
+++ b/gluten.h
@@ -52,6 +52,11 @@ enum action_type {
A_RETURN,
};
+enum value_type {
+ IMMEDIATE,
+ REFERENCE,
+};
+
struct act_call {
long nr;
void *args[6];
@@ -67,7 +72,11 @@ struct act_continue {
};
struct act_return {
- int64_t value;
+ enum value_type type;
+ union {
+ int64_t value;
+ int64_t *value_p;
+ };
};
struct act_inject {