[tarantool-patches] Re: [PATCH v7 1/6] lua: remove exceptions from function luaL_tofield()

Konstantin Osipov kostja at tarantool.org
Thu Jan 17 14:38:00 MSK 2019


* imeevma at tarantool.org <imeevma at 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 <diag.h>
>  #include <fiber.h>
>  
> +#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




More information about the Tarantool-patches mailing list