YPC  0.2.0
status.h
1 #pragma once
2 #include <string>
3 
4 namespace ypc {
5 enum ypc_status : uint32_t {
6 #define YPC_STATUS(a, b) a = (b == 0 ? b : 0x20000 | b),
7 #include "ypc/core/status.def"
8 #undef YPC_STATUS
9 };
10 const char *status_string(uint32_t status);
11 } // namespace ypc