Add GDB_DUMMY tag for lua::stackDump

This commit is contained in:
Mm2PL 2024-10-08 00:13:20 +02:00
parent 04267d60e8
commit 9edbfcccca
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -37,6 +37,9 @@ constexpr int ERROR_BAD_PEEK = LUA_OK - 1;
*/
void stackDump(lua_State *L, const QString &tag);
// This is for calling stackDump out of gdb as it's not easy to create a QString there
const QString GDB_DUMMY = "GDB_DUMMY";
/**
* @brief Converts a lua error code and potentially string on top of the stack into a human readable message
*/