From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 27 Dec 2018 21:51:58 +0300 From: Vladimir Davydov Subject: Re: [PATCH v1 1/4] lib: introduce json_tree_snprint_path Message-ID: <20181227185158.emnldnon3w7fg5ab@esperanza> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Kirill Shcherbatov Cc: tarantool-patches@freelists.org, kostja@tarantool.org List-ID: On Thu, Dec 27, 2018 at 02:15:52PM +0300, Kirill Shcherbatov wrote: > +int > +json_tree_snprint_path(char *buf, int size, const struct json_token *root, > + const struct json_token *token, int index_base) I guess you were right and I was wrong after all - if we require to pass the root to this routine, we'll have to pass tuple_format to tuple_field_path(), which will look rather awkward. I removed the root argument altogether and pushed the patch to 2.1.