[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: avoiding keyword conflicts
- From: "John Belmonte" <jvb@...>
- Date: Thu, 9 Nov 2000 15:41:44 +0900
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