Skip to content

Commit 404807e

Browse files
committed
添加 chsrc_panic()
1 parent 4ef5fc7 commit 404807e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/framework/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ ProgStatus =
161161
#define chsrc_debug(dom,str)
162162
#endif
163163
#define chsrc_verbose(str) xy_info(App_Name "(VERBOSE)",str)
164+
#define chsrc_panic(reason) xy_error(App_Name "(PANIC)",reason); exit(Exit_MaintainerCause)
164165

165166
#define faint(str) xy_str_to_faint(str)
166167
#define red(str) xy_str_to_red(str)

0 commit comments

Comments
 (0)