Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ __ToInt
Method
__ToInt
src/String.cpp:2523–2527 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2521
2522
2523
int __ToInt() const HXCPP_OVERRIDE
2524
{
2525
if (!mValue.raw_ptr()) return 0;
2526
return atoi(mValue.utf8_str());
2527
}
2528
2529
int __Compare(const hx::Object *inRHS) const HXCPP_OVERRIDE
2530
{
Callers
4
indexOf
Method · 0.45
lastIndexOf
Method · 0.45
substr
Method · 0.45
substring
Method · 0.45
Calls
1
utf8_str
Method · 0.80
Tested by
no test coverage detected