aboutsummaryrefslogtreecommitdiff
path: root/src/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools.cpp')
-rw-r--r--src/tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools.cpp b/src/tools.cpp
index 49872f7..3a331f5 100644
--- a/src/tools.cpp
+++ b/src/tools.cpp
@@ -61,7 +61,7 @@ static constexpr int kWriterReturnCode{ 666 };
61 * +-----------------+-------------------+------------+----------+ 61 * +-----------------+-------------------+------------+----------+
62 * | lua_tocfunction | nullptr | | nullptr | 62 * | lua_tocfunction | nullptr | | nullptr |
63 * +-----------------+-------------------+------------+----------+ 63 * +-----------------+-------------------+------------+----------+
64 * | lua_dump | kWriterReturnCode | 1 | 1 | 64 * | luaG_dump | kWriterReturnCode | 1 | 1 |
65 * +-----------------+-------------------+------------+----------+ 65 * +-----------------+-------------------+------------+----------+
66 */ 66 */
67 67
@@ -77,7 +77,7 @@ static constexpr int kWriterReturnCode{ 666 };
77 _mustpush = 1; 77 _mustpush = 1;
78 } 78 }
79 // the provided writer fails with code kWriterReturnCode 79 // the provided writer fails with code kWriterReturnCode
80 // therefore, anytime we get kWriterReturnCode, this means that lua_dump() attempted a dump 80 // therefore, anytime we get kWriterReturnCode, this means that luaG_dump() attempted a dump
81 // all other cases mean this is either a C or LuaJIT-fast function 81 // all other cases mean this is either a C or LuaJIT-fast function
82 int const _dumpres{ luaG_dump(L_, dummy_writer, nullptr, 0) }; 82 int const _dumpres{ luaG_dump(L_, dummy_writer, nullptr, 0) };
83 lua_pop(L_, _mustpush); 83 lua_pop(L_, _mustpush);