aboutsummaryrefslogtreecommitdiff
path: root/tools/wasm_compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/wasm_compile.h')
-rw-r--r--tools/wasm_compile.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/wasm_compile.h b/tools/wasm_compile.h
index 3412b2d..e223ec6 100644
--- a/tools/wasm_compile.h
+++ b/tools/wasm_compile.h
@@ -24,11 +24,13 @@
#define PRERR(...) fprintf(stderr, __VA_ARGS__)
-struct functype {
- uint32_t arguments_count;
- char *arguments;
+struct resulttype {
+ uint32_t count;
+ char *types;
+};
- char result;
+struct functype {
+ struct resulttype args, results;
};
struct function {