view src/interface/ErrorGear.h @ 246:7e4e7f864970

fix_util_regex
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Tue, 04 Feb 2020 11:35:37 +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;