From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 CF340469719 for ; Sat, 3 Oct 2020 00:48:34 +0300 (MSK) References: <847daa09-7b38-2663-ae88-951d8dfade01@tarantool.org> <09ea01d698b7$5a141130$0e3c3390$@tarantool.org> From: Vladislav Shpilevoy Message-ID: Date: Fri, 2 Oct 2020 23:48:33 +0200 MIME-Version: 1.0 In-Reply-To: <09ea01d698b7$5a141130$0e3c3390$@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH 2.X 3/7] module api: luaT_newthread List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Timur Safin , alexander.turenko@tarantool.org Cc: tarantool-patches@dev.tarantool.org > : > +/** > : > + * @brief Creates a new Lua coroutine in a protected frame. If > : > + * call underneath succeeds, the created Lua state > : > + * is on the top of the guest stack and a pointer to this state is > : > + * returned. Otherwise LUA_ERRMEM error is handled and the result > : > + * is NULL. > : > + * @param L is a Lua state > : > : 2. > : @param L Lua state. > : > : Or probably could be even dropped. Such description is useless anyway. > > Do you consider that L is obvious for external author > that it means Lua state? I'd rather disagree. Its type is literally 'lua_State'. Why don't you describe that an integer parameter is an 'int' then?