MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / FormatResult

Function FormatResult

Goldleaf/source/util/util_String.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 std::string FormatResult(const Result rc) {
37 char res_err[0x20] = {};
38 snprintf(res_err, sizeof(res_err), "%04d-%04d", 2000 + R_MODULE(rc), R_DESCRIPTION(rc));
39 return res_err;
40 }
41
42 std::string FormatTime(const u64 sec) {
43 u64 f_day = 0;

Callers 1

HandleResultFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected