From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 1CC5B262B2 for ; Thu, 17 Jan 2019 06:38:02 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jZ3vBK2b8gVx for ; Thu, 17 Jan 2019 06:38:02 -0500 (EST) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id A8D8A262B0 for ; Thu, 17 Jan 2019 06:38:01 -0500 (EST) Date: Thu, 17 Jan 2019 14:38:00 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH v7 1/6] lua: remove exceptions from function luaL_tofield() Message-ID: <20190117113800.GJ28204@chai> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org * imeevma@tarantool.org [19/01/15 19:14]: > Before this commit, the luaL_tofield() function threw a Lua > diff --git a/src/lua/utils.c b/src/lua/utils.c > index 978fe61..9a9fd3a 100644 > --- a/src/lua/utils.c > +++ b/src/lua/utils.c > @@ -37,6 +37,8 @@ > #include > #include > > +#include "box/error.h" Please don't. This violates encapsulation. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov