[tarantool-patches] [PATCH v2 1/2] lua: add luaT_tuple_new()

Vladimir Davydov vdavydov.dev at gmail.com
Wed Apr 3 21:01:23 MSK 2019


On Wed, Mar 27, 2019 at 05:29:27PM +0300, Kirill Shcherbatov wrote:
> From: Alexander Turenko <alexander.turenko at tarantool.org>
> 
> The function allows to create a tuple with specific tuple format in C
> code using a Lua table, another tuple, or objects on a Lua stack.
> 
> Needed for #3276, #3398, #4025
> ---
>  src/box/lua/space.cc            |   7 +-
>  src/box/lua/tuple.c             |  58 +++++++----
>  src/box/lua/tuple.h             |  15 ++-
>  test/unit/CMakeLists.txt        |   4 +
>  test/unit/luaT_tuple_new.c      | 178 ++++++++++++++++++++++++++++++++
>  test/unit/luaT_tuple_new.result |  22 ++++
>  6 files changed, 261 insertions(+), 23 deletions(-)
>  create mode 100644 test/unit/luaT_tuple_new.c
>  create mode 100644 test/unit/luaT_tuple_new.result

Pushed to master.



More information about the Tarantool-patches mailing list