Register StyleTypeToString with Lua. Does something already do this? It would be useful if there were.
This commit is contained in:
@@ -331,7 +331,7 @@ static const char *StyleTypeNames[] = {
|
|||||||
XToString( StyleType );
|
XToString( StyleType );
|
||||||
StringToX( StyleType );
|
StringToX( StyleType );
|
||||||
LuaXType( StyleType );
|
LuaXType( StyleType );
|
||||||
|
LuaFunction( StyleTypeToString, StyleTypeToString( Enum::Check<StyleType>(L, 1)));
|
||||||
|
|
||||||
static const char *GoalTypeNames[] = {
|
static const char *GoalTypeNames[] = {
|
||||||
"Calories",
|
"Calories",
|
||||||
|
|||||||
Reference in New Issue
Block a user