[tarantool-patches] Re: [PATCH 2/7] swim: encapsulate 'uint16' payload size inside swim.c

Konstantin Osipov kostja at tarantool.org
Wed May 15 05:02:04 MSK 2019


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/05/15 04:21]:
> uint16 was used in public SWIM C API as a type for payload size
> to emphasize its small value. But it is not useful in Lua,
> because Lua API should explicitly check if a number overflows
> uint16 maximal value, and return the same error as in case it is
> < uint16_max, but > payload_size_max.

OK to push.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32




More information about the Tarantool-patches mailing list