From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [94.100.177.110]) (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 9D16B4696C6 for ; Sun, 12 Apr 2020 03:13:36 +0300 (MSK) Received: by smtp50.i.mail.ru with esmtpa (envelope-from ) id 1jNQFk-0005lJ-1C for tarantool-patches@dev.tarantool.org; Sun, 12 Apr 2020 03:13:36 +0300 From: Vladislav Shpilevoy Date: Sun, 12 Apr 2020 02:12:51 +0200 Message-Id: <7c3edb51561a2d986049596c552d7d71be882e1f.1586650014.git.v.shpilevoy@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 11/43] build: export src/lua/init.c symbols List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Exports a function and a variable used by src/lua/buffer.lua via FFI. Part of #2971 --- extra/exports | 2 -- src/lua/init.c | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/extra/exports b/extra/exports index b4b2d90c3..09bbd6f33 100644 --- a/extra/exports +++ b/extra/exports @@ -2,7 +2,6 @@ # FFI -tarantool_lua_slab_cache ibuf_create ibuf_reinit ibuf_destroy @@ -31,7 +30,6 @@ tnt_iconv exception_get_string exception_get_int -tarantool_lua_ibuf uuid_nil tt_uuid_create tt_uuid_str diff --git a/src/lua/init.c b/src/lua/init.c index da1a19ccd..35a7e5884 100644 --- a/src/lua/init.c +++ b/src/lua/init.c @@ -747,6 +747,10 @@ tarantool_lua_export_syms(void) /* Submodules. */ (void *)tarantool_lua_digest_export_syms, (void *)tarantool_lua_socket_export_syms, + + /* Own symbols. */ + (void *)tarantool_lua_slab_cache, + (void *)&tarantool_lua_ibuf, }; return syms; } -- 2.21.1 (Apple Git-122.3)