mirror of
https://github.com/RubyMetric/chsrc
synced 2025-09-09 19:54:49 +08:00
Bump xy
version to v0.2.0
This commit is contained in:
parent
55865d6a7b
commit
8e1f6a35f6
9
lib/xy.h
9
lib/xy.h
@ -23,7 +23,7 @@
|
|||||||
#ifndef XY_H
|
#ifndef XY_H
|
||||||
#define XY_H
|
#define XY_H
|
||||||
|
|
||||||
#define _XY_Version "v0.1.7.0-2025/08/22"
|
#define _XY_Version "v0.2.0.0-2025/08/27"
|
||||||
#define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
|
#define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
|
||||||
#define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
|
#define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
|
||||||
|
|
||||||
@ -64,6 +64,8 @@ struct
|
|||||||
{
|
{
|
||||||
bool enable_color;
|
bool enable_color;
|
||||||
|
|
||||||
|
bool inited;
|
||||||
|
|
||||||
bool on_windows;
|
bool on_windows;
|
||||||
bool on_linux;
|
bool on_linux;
|
||||||
bool on_macos;
|
bool on_macos;
|
||||||
@ -77,6 +79,9 @@ xy =
|
|||||||
.enable_color = true,
|
.enable_color = true,
|
||||||
|
|
||||||
/* 由 xy_init() 赋值 */
|
/* 由 xy_init() 赋值 */
|
||||||
|
|
||||||
|
.inited = false,
|
||||||
|
|
||||||
.on_windows = false,
|
.on_windows = false,
|
||||||
.on_linux = false,
|
.on_linux = false,
|
||||||
.on_macos = false,
|
.on_macos = false,
|
||||||
@ -1220,6 +1225,8 @@ xy_init ()
|
|||||||
xy.os_devnull = "/dev/null";
|
xy.os_devnull = "/dev/null";
|
||||||
|
|
||||||
xy_use_utf8 ();
|
xy_use_utf8 ();
|
||||||
|
|
||||||
|
xy.inited = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user