[Tarantool-patches] [PATCH v3 08/16] module api/lua: add API_EXPORT to tuple functions

Alexander Turenko alexander.turenko at tarantool.org
Thu Oct 15 05:35:47 MSK 2020


On Thu, Oct 15, 2020 at 01:41:53AM +0200, Vladislav Shpilevoy wrote:
> Thanks for the patch!
> 
> On 13.10.2020 01:23, Alexander Turenko wrote:
> > The reason is unification of declarations. It is the rule of thumb to
> > use API_EXPORT with module API functions.
> 
> What about box_tuple_ref, box_tuple_unref, box_tuple_field_count,
> and other tuple functions?

My motivation is to don't have mix of functions with and without
API_EXPORT after my changes. In the patchset I added new functions into
box/key_def and box/lua/tuple, so added the macro here. But I don't
touch box/tuple, so don't do any changes for consistency there.


More information about the Tarantool-patches mailing list