aboutsummaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index 4f99d2e..54d159f 100644
--- a/src/env.h
+++ b/src/env.h
@@ -33,6 +33,14 @@ struct w2c_env {
};
/**
+ * The Web Assembly host globals.
+ */
+struct w2c_global {
+ double infinity;
+ double nan;
+};
+
+/**
* Allocates a new host environment with the specified Web Assembly memory size.
*/
struct w2c_env *pw_env_init(size_t memory);