engine/crash/src/script_crash.cpp
/*# loads a previously written crash dump
     *
     * The crash dump will be removed from disk upon a successful
     * load, so loading is one-shot.
     *
     * @name crash.load_previous
     * @return handle [type:number] handle to the loaded dump, or nil if no dump was found
     */
loads a previously written crash dump
The crash dump will be removed from disk upon a successful
load, so loading is one-shot.

@name crash.load_previous
@return handle [type:number] handle to the loaded dump, or nil if no dump was found
loads a previously written crash dump The crash dump will be removed from disk upon a successful load so loading is one - shot . @name crash . load_previous @return handle [ type : number ] handle to the loaded dump or nil if no dump was found
static int Crash_LoadPrevious(lua_State* L)
    {
        HDump dump = LoadPrevious();
        if (dump != 0)
        {
            lua_pushnumber(L, dump);
            Purge();
        }
        else
        {
            lua_pushnil(L);
        }
        return 1;
    }
static int Crash_LoadPrevious ( lua_State * L ) { HDump dump = LoadPrevious ( ) ; if ( dump != 0 ) { lua_pushnumber ( L , dump ) ; Purge ( ) ; } else { lua_pushnil ( L ) ; } return 1 ; }
loads a previously written crash dump
 The crash dump will be removed from disk upon a successful
 load, so loading is one-shot.
loads a previously written crash dump The crash dump will be removed from disk upon a successful load so loading is one - shot .