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.
ProgStore
1 parent 4d70428 commit 83e8084Copy full SHA for 83e8084
src/framework/core.c
@@ -9,7 +9,7 @@
9
* | Yangmoooo <[email protected]>
10
* |
11
* Created On : <2023-08-29>
12
- * Last Modified : <2025-08-21>
+ * Last Modified : <2025-08-22>
13
*
14
* chsrc framework
15
* ------------------------------------------------------------*/
@@ -139,6 +139,19 @@ ProgStatus =
139
};
140
141
142
+/* Global Program Store */
143
+struct
144
+{
145
+ XySeq_t *pl;
146
+ XySeq_t *os;
147
+ XySeq_t *wr;
148
+}
149
+ProgStore =
150
151
+ .pl = NULL,
152
+ .os = NULL,
153
+ .wr = NULL
154
+};
155
156
157
@@ -216,6 +229,10 @@ chsrc_framework_init ()
216
229
xy_init ();
217
230
218
231
ProgStatus.contributors = xy_map_new ();
232
+
233
+ ProgStore.pl = xy_seq_new ();
234
+ ProgStore.os = xy_seq_new ();
235
+ ProgStore.wr = xy_seq_new ();
219
236
}
220
237
221
238
0 commit comments