diff src/interface/Err.h @ 272:600fd7db5344

fix_build_about_kernel_error
author anatofuz
date Thu, 06 Feb 2020 17:58:56 +0900
parents src/interface/Error.h@11cd1c607427
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/interface/Err.h	Thu Feb 06 17:58:56 2020 +0900
@@ -0,0 +1,5 @@
+typedef struct Err <Type, Impl> {
+  __code error(Impl* err, int err_code, __code next(...));
+  __code panic(Impl* err, char* msg);
+  __code next(...);
+} Err;