MCPcopy Create free account
hub / github.com/OpenStickCommunity/GP2040-CE / appendAsString

Function appendAsString

src/config_utils.cpp:1989–1992  ·  view source on GitHub ↗

Don't inline this function, we do not want to consume stack space in the calling function

Source from the content-addressed store, hash-verified

1987
1988// Don't inline this function, we do not want to consume stack space in the calling function
1989static void __attribute__((noinline)) appendAsString(std::string& str, double value)
1990{
1991 str.append(std::to_string(value));
1992}
1993
1994// Don't inline this function, we do not want to consume stack space in the calling function
1995static void __attribute__((noinline)) appendAsString(std::string& str, float value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected