We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a3d7f commit b5ca194Copy full SHA for b5ca194
2 files changed
LuaJIT-2.1/src/lib_jit.c
@@ -610,7 +610,7 @@ LJLIB_CF(jit_profile_dumpstack)
610
611
#include "lj_libdef.h"
612
613
-static int luaopen_jit_profile(lua_State *L)
+LUALIB_API int luaopen_jit_profile(lua_State *L)
614
{
615
LJ_LIB_REG(L, NULL, jit_profile);
616
return 1;
LuaJIT-2.1/src/lualib.h
@@ -35,6 +35,9 @@ LUALIB_API int luaopen_jit(lua_State *L);
35
LUALIB_API int luaopen_ffi(lua_State *L);
36
LUALIB_API int luaopen_string_buffer(lua_State *L);
37
38
+// Internal JIT function, this one is NOT loaded by luaL_openlibs
39
+LUALIB_API int luaopen_jit_profile(lua_State *L);
40
+
41
LUALIB_API void luaL_openlibs(lua_State *L);
42
43
#ifndef lua_assert
0 commit comments