annotate src/interface/ErrorGear.h @ 247:1ba0ca4113e1

tweak
author menikon
date Sun, 02 Feb 2020 00:23:12 +0900
parents 2a35e8c6f67c
children ba8687746ff6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
167
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 typedef struct ErrorGear <Type, Impl> {
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 union Data* error_gear;
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 int err_code;
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 char* msg;
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 __code error(int err_code,...);
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 __code panic(char* msg);
2a35e8c6f67c add error gear
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 } ErrorGear;