[tarantool-patches] [PATCH v3 2/7] box: add method dump_lua to port
Vladimir Davydov
vdavydov.dev at gmail.com
Thu Nov 29 13:48:30 MSK 2018
On Wed, Nov 28, 2018 at 04:33:49PM +0300, imeevma at tarantool.org wrote:
> New version:
>
> commit ff2fc3fd58dd99d3a98ad790c8e82363949cb3db
> Author: Mergen Imeev <imeevma at gmail.com>
> Date: Sat Nov 17 15:37:17 2018 +0300
>
> box: add method dump_lua to port
>
> New method dump_lua dumps saved in port tuples to Lua stack. It
> will allow us to call this method without any other interaction
> with port.
>
> Needed for #3505
>
> diff --git a/src/box/lua/call.c b/src/box/lua/call.c
> index 1f20426..52939ae 100644
> --- a/src/box/lua/call.c
> +++ b/src/box/lua/call.c
> @@ -424,6 +424,7 @@ port_lua_dump_plain(struct port *port, uint32_t *size);
> static const struct port_vtab port_lua_vtab = {
> .dump_msgpack = port_lua_dump,
> .dump_msgpack_16 = port_lua_dump_16,
> + .dump_lua = NULL,
This should allow us to implement box.call, eventually, which is nice.
Pushed to 2.1.
BTW, please fix your editor you use for editing emails - it seems to
convert tabs to spaces.
More information about the Tarantool-patches
mailing list