| 167 | } |
| 168 | |
| 169 | std::string stl_sprintf(const char *fmt, ...) { |
| 170 | va_list lst; |
| 171 | va_start(lst, fmt); |
| 172 | std::string rv = stl_vsprintf(fmt, lst); |
| 173 | va_end(lst); |
| 174 | return rv; |
| 175 | } |
| 176 | |
| 177 | std::string stl_vsprintf(const char *fmt, va_list args) { |
| 178 | /* Allow small (about single line) strings to be printed into stack memory |
no test coverage detected