lua-users home
lua-l archive

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


I recommend that in the future lua_XXX names be avoided where XXX is a C or
C++ keyword.  The reason is that when the API is put into a namespace (using
namespace, class etc.) the "lua_" is naturally removed resulting in a
keyword conflict.  If (within the namespace only) the names are changed to
work around this problem then programmers already familiar with the C API
have to learn new names.

Currently two such names are lua_typename and lua_register.

-John