[tarantool-patches] Re: [PATCH v1 1/1] Implement mp_stack_top for mp_stack class
Vladimir Davydov
vdavydov.dev at gmail.com
Sun Apr 7 15:02:24 MSK 2019
On Fri, Apr 05, 2019 at 08:17:23PM +0300, Kirill Shcherbatov wrote:
> Introduced a new mp_stack_top method for mp_stack class to
> return the pointer to a top frame of the stack.
>
> Class methods have been redesigned so that this new mp_stack_top
> helper fits into the API naturally.
>
> This is required in scope of multikey indexes to keep a pointer
> to a multikey frame and extract currently processed item index
> of this frame later.
>
> Needed for https://github.com/tarantool/tarantool/issues/1257
> ---
> msgpuck.c | 16 ++++++------
> msgpuck.h | 77 +++++++++++++++++++++----------------------------------
> 2 files changed, 37 insertions(+), 56 deletions(-)
Pushed to tarantool-msgpuck:master.
More information about the Tarantool-patches
mailing list