diff options
Diffstat (limited to 'src/binaryen-c.h')
-rw-r--r-- | src/binaryen-c.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h index 8609496d0..08cf12b90 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -2284,6 +2284,13 @@ BINARYEN_API bool BinaryenGetLowMemoryUnused(void); // when optimizing. Applies to all modules, globally. BINARYEN_API void BinaryenSetLowMemoryUnused(bool on); +// Gets whether to assume that an imported memory is zero-initialized. +BINARYEN_API bool BinaryenGetZeroFilledMemory(void); + +// Enables or disables whether to assume that an imported memory is +// zero-initialized. +BINARYEN_API void BinaryenSetZeroFilledMemory(bool on); + // Gets whether fast math optimizations are enabled, ignoring for example // corner cases of floating-point math like NaN changes. // Applies to all modules, globally. |