Ignore:
Timestamp:
Mar 8, 2013, 12:47:59 PM (7 years ago)
Author:
sam
Message:

ps3: implement Lua file loading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/base/assert.h

    r2506 r2568  
    2626}
    2727
     28extern void DumpStack();
     29
    2830/* FIXME: see http://stackoverflow.com/q/3596781/111461 for discussions
    2931 * on implementing __debugbreak() on POSIX systems. */
    30 static inline void DebugBreak()
     32static inline void DebugAbort()
    3133{
     34    DumpStack();
    3235#if defined _WIN32
    3336    __debugbreak();
    3437#endif
     38    Abort();
    3539}
    36 
    37 extern void DumpStack();
    3840
    3941#define LOL_CALL(macro, args) macro args
     
    118120                                                  (__VA_ARGS__))), \
    119121                     (__VA_ARGS__)); \
    120             DumpStack(); \
    121             DebugBreak(); \
    122             Abort(); \
     122            DebugAbort(); \
    123123        }
    124124#endif
Note: See TracChangeset for help on using the changeset viewer.