lua-users home
lua-l archive

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



Quoting Roberto Ierusalimschy <roberto@inf.puc-rio.br>:

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.

-- Roberto

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.

-tobbik