sys_cond, sys_mutex

This commit is contained in:
Nekotekina 2017-02-02 20:47:25 +03:00
parent c4cc3ad81e
commit 16944b0c4c
8 changed files with 415 additions and 271 deletions

View file

@ -11,6 +11,18 @@
#include <errno.h>
#endif
template <>
void fmt_class_string<std::pair<const fmt_type_info*, u64>>::format(std::string& out, u64 arg)
{
// Dynamic format arg
const auto& pair = get_object(arg);
if (pair.first)
{
pair.first->fmt_string(out, pair.second);
}
}
void fmt_class_string<const void*>::format(std::string& out, u64 arg)
{
if (arg)