[tarantool-patches] Re: [PATCH v9 4/7] lua: remove exceptions from function luaL_tofield()

Konstantin Osipov kostja at tarantool.org
Fri Mar 22 18:53:09 MSK 2019


* imeevma at tarantool.org <imeevma at tarantool.org> [19/03/22 13:57]:
>  	case LUA_TCDATA:
>  	{
> -		uint32_t ctypeid = 0;
> -		void *cdata = luaL_checkcdata(L, index, &ctypeid);
> +		GCcdata *cd = cdataV(L->base + index - 1);
> +		void *cdata = (void *)cdataptr(cd);
> +

What is the reason for this change?


-- 
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