mn_lock_exptions.hpp File Reference
Go to the source code of this file.
Macros | |
| #define | MN_THROW_LOCK_EXP(CODE) set_error(CODE); |
| #define | MN_THROW_LOCK_EXP2(CODE, RET) { set_error(CODE); return RET; } |
Macro Definition Documentation
◆ MN_THROW_LOCK_EXP
| #define MN_THROW_LOCK_EXP | ( | CODE | ) | set_error(CODE); |
This Macro util set only the error code
◆ MN_THROW_LOCK_EXP2
| #define MN_THROW_LOCK_EXP2 | ( | CODE, | |
| RET | |||
| ) | { set_error(CODE); return RET; } |
This Macro util set only the error code, and return setted return code