Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Achain-Dev/Achain
/ string_last_char
Function
string_last_char
src/Chain/libraries/glua/glua_decompile.cpp:990–993 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
988
}
989
990
static char string_last_char(std::string const &str)
991
{
992
return str.length() > 0 ? str[str.length() - 1] : -1;
993
}
994
995
void ClearTableItem(DecTableItem* item, void* dummy) {
996
if (item) {
Callers
2
PrintTableItemNumeric
Function · 0.85
PrintTableItemKeyed
Function · 0.85
Calls
1
length
Method · 0.45
Tested by
no test coverage detected