From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (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 D26F4469719 for ; Mon, 19 Oct 2020 07:36:13 +0300 (MSK) Date: Mon, 19 Oct 2020 07:35:45 +0300 From: Sergey Kaplun Message-ID: <20201019043545.GB1834@root> References: <20201016194939.GA17612@root> <20201018181926.GB5396@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201018181926.GB5396@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH 2/3] misc: add lib_misc.c to all .bat files List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Igor, Thanks for the review! I've updated commit message considering your comments. Branch is force pushed. On 18.10.20, Igor Munkin wrote: > Sergey, > > Thanks for the patch! The fix looks quite clear, but I have no way to > check it by myself. This breaks nothing, so LGTM, but please consider my > nits below. > > On 16.10.20, Sergey Kaplun wrote: > > Minor: I believe is much better here instead of . Yes, updated. > > > > > For become symbols exportable at several building systems > > Typo: s/For become/To make/. Yep, thanks! > > > (namely mvsc, xedk, xb1) LuaJIT defines LUA_BUILD_AS_DLL at > > corresponding bat files. When this macro is defined, the definition of > > Typo: Doubled whitespace above. Thanks again! > > > LUA_API macro depends on LUA_CORE and LUA_LIB macros (see luaconf.h). If > > defined(LUA_CORE) or defined(LUA_LIB) then LUA_API macro is defined as > > __declspec(dllexport). Otherwise, it defined as __declspec(dllimport). > > Typo: s/it defined/it is defined/. Fixed. > > > > > This patch consists from two parts. > > > > First of all it adds lib_misc.c to ALL_LIB in .bat files > > for specific building systems. > > > > Secondly, this patch also adds definition of LUA_CORE macro at the top > > of lj_mapi.c file to make corresponding symbols exportable for systems > > described above. > > > > Follows up tarantool/tarantool#5187 > > > > > > > =================================================================== > > > > -- > > Best regards, > > Sergey Kaplun > > -- > Best regards, > IM -- Best regards, Sergey Kaplun