lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Nov 9, 2021 at 7:11 PM Marvin Scholz <epirat07@gmail.com> wrote:
>
> These functions are marked private even though they are used in luac,
> causing linking to fail.

You are not saying what version of Lua you are using, what tools you
are using to build it, and not even what your build definition is.

Generally speaking, you are proposing to replace LUAI_FUNC with
LUA_API for some functions, which, looking at their definitions, may
only make a difference when Lua is built as a DLL. Whereas, as stated
by Luiz, luac is supposed to be linked statically.

So it seems that whatever you are doing is not being done right.

Cheers,
V.