MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / unsignedToString

Function unsignedToString

Test/TestOpenGLRender.h:1907–1920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1905} // TestOpenGLPlugin::RENDERFUNC
1906
1907static
1908std::string
1909unsignedToString(unsigned i)
1910{
1911 if (i == 0) {
1912 return "0";
1913 }
1914 std::string nb;
1915 for (unsigned j = i; j != 0; j /= 10) {
1916 nb = (char)( '0' + (j % 10) ) + nb;
1917 }
1918
1919 return nb;
1920}
1921
1922static
1923void

Callers 1

contextAttachedMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected