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 */
| 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 | * |
nothing calls this directly
no test coverage detected