File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Expand file tree Collapse file tree 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);
177177Word wasi_unstable_clock_time_get (Word, uint64_t , Word);
178178Word wasi_unstable_random_get (Word, Word);
179179Word pthread_equal (Word left, Word right);
180+ void emscripten_notify_memory_growth (Word);
180181
181182// Support for embedders, not exported to Wasm.
182183
Original file line number Diff line number Diff line change @@ -908,6 +908,8 @@ void wasi_unstable_proc_exit(Word /*exit_code*/) {
908908
909909Word pthread_equal (Word left, Word right) { return static_cast <uint64_t >(left == right); }
910910
911+ void emscripten_notify_memory_growth (Word /* memory_index*/ ) {}
912+
911913Word set_tick_period_milliseconds (Word period_milliseconds) {
912914 TimerToken token = 0 ;
913915 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() {
8989 &ConvertFunctionWordToUint32<decltype (exports::_fn), \
9090 exports::_fn>::convertFunctionWordToUint32)
9191 _REGISTER (pthread_equal);
92+ _REGISTER (emscripten_notify_memory_growth);
9293#undef _REGISTER
9394
9495 // 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