From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id C260F446439 for ; Sat, 17 Oct 2020 14:14:05 +0300 (MSK) From: Sergey Kaplun Date: Sat, 17 Oct 2020 14:13:31 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 2/2] lua: add missing LuaJIT export symbols List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko , Igor Munkin , "Alexander V . Tikhonov" Cc: tarantool-patches@dev.tarantool.org 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