We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lua_gcdump
1 parent 234c2b1 commit 7284a9cCopy full SHA for 7284a9c
luau/Custom/src/lextra.cpp
@@ -1,5 +1,6 @@
1
#include "lua.h"
2
#include "lapi.h"
3
+#include "lgc.h"
4
#include "lobject.h"
5
#include "lstate.h"
6
@@ -19,3 +20,8 @@ extern "C" const void* lua_getmetatablepointer(lua_State* L, int objindex)
19
20
return NULL;
21
}
22
23
+
24
+extern "C" void lua_gcdump(lua_State* L, void* file, const char* (*categoryName)(lua_State* L, uint8_t memcat))
25
+{
26
+ luaC_dump(L, file, categoryName);
27
+}
0 commit comments