MCPcopy Create free account
hub / github.com/DFHack/dfhack / wrap_launch

Function wrap_launch

package/launchdf.cpp:126–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124#ifdef WIN32
125
126bool wrap_launch(LPCWSTR (*launch_fn)()) {
127 LPCWSTR err = launch_fn();
128 if (err != NULL) {
129 MessageBoxW(NULL, err, NULL, 0);
130 return false;
131 }
132 return true;
133}
134
135#else
136

Callers 1

mainFunction · 0.85

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected