API: Removed function GetChar (#3664)
This commit is contained in:
parent
1614aa17d3
commit
6c420ce557
@ -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 =
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user