MCPcopy 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

indexOfMethod · 0.45
lastIndexOfMethod · 0.45
substrMethod · 0.45
substringMethod · 0.45

Calls 1

utf8_strMethod · 0.80

Tested by

no test coverage detected