[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LUAMOD_API in 5.4 results in luaopen_blah nod found
- From: tobias@...
- Date: Wed, 18 Jul 2018 20:05:37 +0200
Quoting Roberto Ierusalimschy <firstname.lastname@example.org>:
I don't think you should, unless you are writing code in the Lua
standard library itself.
AFAIK those defines are not supposed to be used outside of the Lua code
base. Use your own define instead.
Probably this is right, one should not use LUAMOD_API outside the Lua
code base. Anyway, that change was reverted.
If LUAMOD_API is not meant to be used outside the Lua code base itself
then it achieves exactly what it's supposed to do and hide the function
from the outside world. That means the change should not be reverted? Or
did it break something else? Just curious.