Tarantool development patches archive
 help / color / mirror / Atom feed
From: Igor Munkin <imun@tarantool.org>
To: Timur Safin <tsafin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH] lua: do not use internal api in public headers
Date: Mon, 20 Jul 2020 14:34:14 +0300	[thread overview]
Message-ID: <20200720113414.GG18920@tarantool.org> (raw)
In-Reply-To: <cf0d6098031fda5b8ee75104ec838c5e00b1b440.1595234591.git.tsafin@tarantool.org>

Timur,

Thanks for your changes! It does solve your problem, but I propose to
drop this patch in favour of mine[1].

On 20.07.20, Timur Safin wrote:
> src/lua/utils.[ch] is part of public api which will
> be integrated into module.h at the build step. It
> should not refer to the internal LuaJIT API like
> lj_state_growstack1(), otherwise it has not chance
> to be linked in while building external binary module.
> 
> Relates to vshard-cluster-api#5

Side note: I doubt this line refers the issue the right way.

> ---
> 
> Branch: https://github.com/tarantool/tarantool/tree/tsafin/gh-vshard-cluster-api-5-no-private-api
> Issue: https://github.com/tarantool/vshard-cluster-api/issues/5
> 
>  src/lua/utils.c | 13 +++++++++++++
>  src/lua/utils.h | 14 ++------------
>  2 files changed, 15 insertions(+), 12 deletions(-)
> 

<snipped>

[1]: https://lists.tarantool.org/pipermail/tarantool-patches/2020-July/018745.html

-- 
Best regards,
IM

      reply	other threads:[~2020-07-20 11:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-20  8:53 Timur Safin
2020-07-20 11:34 ` Igor Munkin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200720113414.GG18920@tarantool.org \
    --to=imun@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=tsafin@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH] lua: do not use internal api in public headers' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox