File tree 3 files changed +4
-0
lines changed
3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ void wasi_unstable_proc_exit(Word);
177
177
Word wasi_unstable_clock_time_get (Word, uint64_t , Word);
178
178
Word wasi_unstable_random_get (Word, Word);
179
179
Word pthread_equal (Word left, Word right);
180
+ void emscripten_notify_memory_growth (Word);
180
181
181
182
// Support for embedders, not exported to Wasm.
182
183
Original file line number Diff line number Diff line change @@ -908,6 +908,8 @@ void wasi_unstable_proc_exit(Word /*exit_code*/) {
908
908
909
909
Word pthread_equal (Word left, Word right) { return static_cast <uint64_t >(left == right); }
910
910
911
+ void emscripten_notify_memory_growth (Word /* memory_index*/ ) {}
912
+
911
913
Word set_tick_period_milliseconds (Word period_milliseconds) {
912
914
TimerToken token = 0 ;
913
915
return contextOrEffectiveContext ()->setTimerPeriod (std::chrono::milliseconds (period_milliseconds),
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ void WasmBase::registerCallbacks() {
89
89
&ConvertFunctionWordToUint32<decltype (exports::_fn), \
90
90
exports::_fn>::convertFunctionWordToUint32)
91
91
_REGISTER (pthread_equal);
92
+ _REGISTER (emscripten_notify_memory_growth);
92
93
#undef _REGISTER
93
94
94
95
// Register the capability with the VM if it has been allowed, otherwise register a stub.
You can’t perform that action at this time.
0 commit comments