We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
xy
v0.2.0
1 parent 55865d6 commit 8e1f6a3Copy full SHA for 8e1f6a3
1 file changed
lib/xy.h
@@ -23,7 +23,7 @@
23
#ifndef XY_H
24
#define XY_H
25
26
-#define _XY_Version "v0.1.7.0-2025/08/22"
+#define _XY_Version "v0.2.0.0-2025/08/27"
27
#define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
28
#define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
29
@@ -64,6 +64,8 @@ struct
64
{
65
bool enable_color;
66
67
+ bool inited;
68
+
69
bool on_windows;
70
bool on_linux;
71
bool on_macos;
@@ -77,6 +79,9 @@ xy =
77
79
.enable_color = true,
78
80
81
/* 由 xy_init() 赋值 */
82
83
+ .inited = false,
84
85
.on_windows = false,
86
.on_linux = false,
87
.on_macos = false,
@@ -1220,6 +1225,8 @@ xy_init ()
1220
1225
xy.os_devnull = "/dev/null";
1221
1226
1222
1227
xy_use_utf8 ();
1228
1229
+ xy.inited = true;
1223
1230
}
1224
1231
1232
0 commit comments