File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2323#ifndef XY_H
2424#define XY_H
2525
26- #define _XY_Version "v0.1.7 .0-2025/08/22 "
26+ #define _XY_Version "v0.2.0 .0-2025/08/27 "
2727#define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
2828#define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
2929
6464{
6565 bool enable_color ;
6666
67+ bool inited ;
68+
6769 bool on_windows ;
6870 bool on_linux ;
6971 bool on_macos ;
7779 .enable_color = true,
7880
7981 /* 由 xy_init() 赋值 */
82+
83+ .inited = false,
84+
8085 .on_windows = false,
8186 .on_linux = false,
8287 .on_macos = false,
@@ -1220,6 +1225,8 @@ xy_init ()
12201225 xy .os_devnull = "/dev/null" ;
12211226
12221227 xy_use_utf8 ();
1228+
1229+ xy .inited = true;
12231230}
12241231
12251232
You can’t perform that action at this time.
0 commit comments