MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / strToInt

Function strToInt

TheForceEngine/TFE_Jedi/InfSystem/infSystem.cpp:112–116  ·  view source on GitHub ↗

No need to do the conversion ourselves like the DOS code did.

Source from the content-addressed store, hash-verified

110
111 // No need to do the conversion ourselves like the DOS code did.
112 s32 strToInt(const char* str)
113 {
114 char* endPtr;
115 return strtol(str, &endPtr, 10);
116 }
117
118 u32 strToUInt(const char* str)
119 {

Callers 2

inf_getMessageTargetFunction · 0.70
inf_parseElevatorCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected