summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index a71e09d19..40728de50 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -108,6 +108,9 @@ struct Address {
Address& operator++() { ++addr; return *this; }
};
+// An offset into memory
+typedef int32_t Offset;
+
// Types
enum WasmType {