MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / scanforURL

Function scanforURL

Engine/source/gui/controls/guiMLTextCtrl.cpp:1580–1586  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1578
1579//--------------------------------------------------------------------------
1580static bool scanforURL(const char *str, U32 &idx, char c)
1581{
1582 U32 startidx = idx;
1583 while(str[idx] != c && str[idx] && str[idx] != '>' && str[idx] != '\n')
1584 idx++;
1585 return str[idx] == c && startidx != idx;
1586}
1587
1588//--------------------------------------------------------------------------
1589static S32 getHexVal(char c)

Callers 1

reflowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected