MCPcopy Create free account
hub / github.com/defold/defold / Crash_SetFilePath

Function Crash_SetFilePath

engine/crash/src/script_crash.cpp:75–80  ·  view source on GitHub ↗

sets the file location for crash dumps * * Crashes occuring before the path is set will be stored to a default engine location. * * @name crash.set_file_path * @param path [type:string] file path to use */

Source from the content-addressed store, hash-verified

73 * @param path [type:string] file path to use
74 */
75 static int Crash_SetFilePath(lua_State* L)
76 {
77 const char* path = luaL_checkstring(L, 1);
78 SetFilePath(path);
79 return 0;
80 }
81
82 /*# loads a previously written crash dump
83 *

Callers

nothing calls this directly

Calls 1

SetFilePathFunction · 0.70

Tested by

no test coverage detected