From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 6 May 2019 18:35:46 +0300 From: Alexander Turenko Subject: Re: [tarantool-patches] Re: [PATCH v3 1/1] lua: add key_def lua module Message-ID: <20190506153546.oute7eu4qixkkrgp@tkn_work_nb> References: <20190430103024.jbzedrf3ak2plvjm@esperanza> <87a7c21e-83ec-8a90-b543-06123cc3117c@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87a7c21e-83ec-8a90-b543-06123cc3117c@tarantool.org> To: Kirill Shcherbatov Cc: tarantool-patches@freelists.org, Vladimir Davydov List-ID: > /** > * Check an existent tuple pointer in LUA stack by specified Nit: Lua is not an acronym. https://stackoverflow.com/a/13615976 > * index or attemt to construct it by LUA table. > * Increase tuple's reference counter. > * Returns not NULL tuple pointer on success, NULL otherwise. > */ > static struct tuple * > luaT_key_def_check_tuple(struct lua_State *L, struct key_def *key_def, int idx)