[ox/std] Add oxReturnError
This commit is contained in:
Vendored
+2
@@ -16,6 +16,8 @@
|
||||
#define OxError(x) x
|
||||
#endif
|
||||
|
||||
#define oxReturnError(x) if (const auto err = x) return OxError(err)
|
||||
|
||||
namespace ox {
|
||||
|
||||
using Error = uint64_t;
|
||||
|
||||
Reference in New Issue
Block a user