[Tarantool-patches] [PATCH v2 07/15] module api/lua: expose luaT_tuple_new()

Alexander Turenko alexander.turenko at tarantool.org
Mon Oct 12 09:11:35 MSK 2020


> > + * The new tuple is referenced in the same way as one created by
> > + * <box_tuple_new>(). There are two possible usage scenarious:
> > + *
> > + * 1. A short living tuple may not be referenced explicitly and
> > + *    will be collected automatically at the next module API call
> > + *    that yields or returns a tuple.
> > + * 2. A long living tuple must be referenced using
> > + *    <box_tuple_ref>() and unreferenced than with
> 
> than -> then.

Thanks!


More information about the Tarantool-patches mailing list