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

Function unsignedToString

Switch/Switch.cpp:85–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83#define kClipSourceCountNumerous 128
84
85static
86std::string
87unsignedToString(unsigned i)
88{
89 if (i == 0) {
90 return "0";
91 }
92 std::string nb;
93 for (unsigned j = i; j != 0; j /= 10) {
94 nb = (char)( '0' + (j % 10) ) + nb;
95 }
96
97 return nb;
98}
99
100////////////////////////////////////////////////////////////////////////////////
101/** @brief The plugin that does our work */

Callers 2

SwitchPluginMethod · 0.70
describeInContextMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected