view src/interface/ErrorGear.h @ 287:b73c5bd61c37

merge
author menikon <e165723@ie.u-ryukyu.ac.jp>
date Thu, 23 Jan 2020 01:55:03 +0900
parents 2a35e8c6f67c
children ba8687746ff6
line wrap: on
line source

typedef struct ErrorGear <Type, Impl> {
  union Data* error_gear;
  int err_code;
  char* msg;

  __code error(int err_code,...);
  __code panic(char* msg);
} ErrorGear;