mirror of
https://gitee.com/RubyMetric/chsrc.git
synced 2025-12-25 20:52:49 +00:00
添加 `ProgStore`
This commit is contained in:
parent
4d70428e35
commit
83e8084d22
|
|
@ -9,7 +9,7 @@
|
|||
* | Yangmoooo <yangmoooo@outlook.com>
|
||||
* |
|
||||
* Created On : <2023-08-29>
|
||||
* Last Modified : <2025-08-21>
|
||||
* Last Modified : <2025-08-22>
|
||||
*
|
||||
* chsrc framework
|
||||
* ------------------------------------------------------------*/
|
||||
|
|
@ -139,6 +139,19 @@ ProgStatus =
|
|||
};
|
||||
|
||||
|
||||
/* Global Program Store */
|
||||
struct
|
||||
{
|
||||
XySeq_t *pl;
|
||||
XySeq_t *os;
|
||||
XySeq_t *wr;
|
||||
}
|
||||
ProgStore =
|
||||
{
|
||||
.pl = NULL,
|
||||
.os = NULL,
|
||||
.wr = NULL
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
|
@ -216,6 +229,10 @@ chsrc_framework_init ()
|
|||
xy_init ();
|
||||
|
||||
ProgStatus.contributors = xy_map_new ();
|
||||
|
||||
ProgStore.pl = xy_seq_new ();
|
||||
ProgStore.os = xy_seq_new ();
|
||||
ProgStore.wr = xy_seq_new ();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue