MCPcopy Create free account
hub / github.com/Sapd/HeadsetControl / yaml_printfloat

Function yaml_printfloat

src/output.c:509–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509void yaml_printfloat(const char* key, const float value, int indent)
510{
511 for (int i = 0; i < indent; i++) {
512 putchar(' ');
513 }
514 printf("%s: %g\n", yaml_replace_spaces_with_dash(key), value);
515}
516
517const char* yaml_replace_spaces_with_dash(const char* str)
518{

Callers 1

output_yamlFunction · 0.85

Calls 1

Tested by

no test coverage detected