1
0
Fork 0

API: Removed function GetChar (#3664)

This commit is contained in:
Lukas Pioch 2017-04-05 23:31:42 +02:00 committed by worktycho
parent 1614aa17d3
commit 6c420ce557
2 changed files with 0 additions and 26 deletions

View File

@ -14175,27 +14175,6 @@ end
},
Notes = "Returns a copy of the string with all quotes and backslashes escaped by a backslash",
},
GetChar =
{
Params =
{
{
Name = "Input",
Type = "string",
},
{
Name = "Index",
Type = "number",
},
},
Returns =
{
{
Type = "string",
},
},
Notes = "(<b>OBSOLETE</b>, use standard Lua string.sub() instead) Returns one character from the string, specified by index. ",
},
GetIniItemSet =
{
Params =

View File

@ -11,9 +11,4 @@ inline unsigned int GetTime()
return static_cast<unsigned int>(std::chrono::seconds(time(0)).count());
}
inline std::string GetChar( std::string & a_Str, unsigned int a_Idx)
{
return std::string(1, a_Str[ a_Idx ]);
}
// tolua_end