[Tarantool-patches] [PATCH 0/4] cmod: refactor box/func

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 17 23:15:17 MSK 2021


Add more use of cmod code in box.schema.func related
functionality. This allows us to shrink code a bit.

Note the series is on top of

 > [PATCH v18 0/2] box: implement cmod Lua module
 > https://lists.tarantool.org/tarantool-patches/20210217123945.396396-1-gorcunov@gmail.com/

thus not on plain master branch code. They are sitting
in branch gorcunov/gh-4642-func-ro-18-unify

Cyrill Gorcunov (4):
  box/func: drop redundant module argument
  box/func: update module cache in one pass
  cmod: export cmod_call helper
  box/func: simplify func_c_call

 src/box/call.c     | 11 +++-------
 src/box/func.c     | 55 ++++++++++++++++++----------------------------
 src/box/func.h     |  3 +--
 src/box/lua/cmod.c | 24 ++++++++------------
 src/box/lua/cmod.h | 15 +++++++++++++
 5 files changed, 49 insertions(+), 59 deletions(-)


base-commit: 99b13539c8534460bf99e5a90c8865a35413dbbd
-- 
2.29.2



More information about the Tarantool-patches mailing list