[Tarantool-patches] [PATCH 2/2] lua: add missing LuaJIT export symbols

Sergey Kaplun skaplun at tarantool.org
Sat Oct 17 14:13:31 MSK 2020


Since LuaJIT provides public C API symbols that are used in the final
executable, the linker may not just throw it away.
Nevertheless for future compatibility all symbols from LuaJIT public API
should be additionaly added at exports.h file.

Follows up tarantool/tarantool#5187
---
 src/exports.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/exports.h b/src/exports.h
index 8bab22574..867a027dc 100644
--- a/src/exports.h
+++ b/src/exports.h
@@ -400,6 +400,7 @@ EXPORT(luaL_traceback)
 EXPORT(luaL_typerror)
 EXPORT(luaL_unref)
 EXPORT(luaL_where)
+EXPORT(luaM_metrics)
 EXPORT(luaopen_base)
 EXPORT(luaopen_bit)
 EXPORT(luaopen_debug)
@@ -407,6 +408,7 @@ EXPORT(luaopen_ffi)
 EXPORT(luaopen_io)
 EXPORT(luaopen_jit)
 EXPORT(luaopen_math)
+EXPORT(luaopen_misc)
 EXPORT(luaopen_os)
 EXPORT(luaopen_package)
 EXPORT(luaopen_string)
-- 
2.28.0



More information about the Tarantool-patches mailing list