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

Function unsignedToString

Dissolve/Dissolve.cpp:71–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69#endif
70
71static
72std::string
73unsignedToString(unsigned i)
74{
75 if (i == 0) {
76 return "0";
77 }
78 std::string nb;
79 for (unsigned j = i; j != 0; j /= 10) {
80 nb = (char)( '0' + (j % 10) ) + nb;
81 }
82
83 return nb;
84}
85
86////////////////////////////////////////////////////////////////////////////////
87/** @brief The plugin that does our work */

Callers 2

DissolvePluginMethod · 0.70
describeInContextMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected