'EnumTraits<T>' : type name first seen using 'struct' now seen using 'class'
This commit is contained in:
@@ -129,7 +129,7 @@ namespace LuaHelpers { bool FromStack( lua_State *L, X &Object, int iOffset ); }
|
|||||||
namespace LuaHelpers { void Push( lua_State *L, const X &Object ); }
|
namespace LuaHelpers { void Push( lua_State *L, const X &Object ); }
|
||||||
|
|
||||||
#define LuaXType(X) \
|
#define LuaXType(X) \
|
||||||
template class EnumTraits<X>; \
|
template struct EnumTraits<X>; \
|
||||||
static void Lua##X(lua_State* L) \
|
static void Lua##X(lua_State* L) \
|
||||||
{ \
|
{ \
|
||||||
/* Create the EnumToString table: { "UnlockEntry_ArcadePoints", "UnlockEntry_DancePoints" } */ \
|
/* Create the EnumToString table: { "UnlockEntry_ArcadePoints", "UnlockEntry_DancePoints" } */ \
|
||||||
|
|||||||
Reference in New Issue
Block a user