MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / emscripten_before_unload

Function emscripten_before_unload

src/main.cpp:415–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413
414#ifdef __EMSCRIPTEN__
415const char* emscripten_before_unload(int eventType, const void *reserved, void *userData) {
416 MainStruct& mS = *((MainStruct*)userData);
417 mS.m->save_config();
418 return "";
419}
420#endif
421
422void init_logs(MainStruct& mS) {

Callers

nothing calls this directly

Calls 1

save_configMethod · 0.80

Tested by

no test coverage detected