Function tarantool_rust_module::box_return_tuple [] [src]

pub unsafe extern "C" fn box_return_tuple(
    ctx: *mut BoxFunctionCtx,
    tuple: *mut BoxTuple
) -> c_int

Return a tuple from stored C procedure.

Returned tuple is automatically reference counted by Tarantool.

\param ctx an opaque structure passed to the stored C procedure by Tarantool \param tuple a tuple to return \retval -1 on error (perhaps, out of memory; check box_error_last()) \retval 0 otherwise