重命名为 chsrc_framework_init()

This commit is contained in:
Aoran Zeng 2025-08-21 00:18:52 +08:00
parent 224021f0f7
commit 058fc62568
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98
2 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
#define Chsrc_Version "0.2.2.3-dev5" #define Chsrc_Version "0.2.2.3-dev5"
#define Chsrc_Release_Date "2025/08/20" #define Chsrc_Release_Date "2025/08/21"
#define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc" #define Chsrc_Maintain_URL "https://github.com/RubyMetric/chsrc"
#define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc" #define Chsrc_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc"
@ -635,7 +635,7 @@ get_target (const char *input, TargetOp code, char *option)
int int
main (int argc, char const *argv[]) main (int argc, char const *argv[])
{ {
chsrc_framework_prelude (); chsrc_framework_init ();
argc -= 1; argc -= 1;

View File

@ -9,7 +9,7 @@
* | Yangmoooo <yangmoooo@outlook.com> * | Yangmoooo <yangmoooo@outlook.com>
* | * |
* Created On : <2023-08-29> * Created On : <2023-08-29>
* Last Modified : <2025-08-20> * Last Modified : <2025-08-21>
* *
* chsrc framework * chsrc framework
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
@ -210,9 +210,9 @@ chsrc_alert2 (const char *str)
void void
chsrc_framework_prelude () chsrc_framework_init ()
{ {
xy_use_utf8 (); xy_init ();
ProgStatus.contributors = xy_map_new (); ProgStatus.contributors = xy_map_new ();
} }