lua-users home
lua-l archive

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


> My question is whether there is a documented list of Lua prefixes reserved
> for use by Lua.

The prefix lua_ is reserved for the official Lua C API. You should not
use this prefix to avoid collisions in the future.

We use luaX_ where X is an upper case letter to indicate internal functions
that need to be called across modules. Except for luaL, your Lua program
will never see these when compiling, but they may show up in linking.
So, it's better to avoid using luaX_ as a prefix.