Structure refactoring
parent: tbd commit: a8f41ac
1 | |
2 | |
3 | state: &mut State, |
4 | object: &O, |
5 | operation: &D, |
6 | ; |
7 | |
8 | |
9 | ; |
10 | |
11 | |
12 | |
13 | todo! |
14 | |
15 | |
16 | |
17 | use *; |
18 | use FfiValueUntyped; |
19 | use ObjectABI; |
20 | use VTable; |
21 | |
22 | |
23 | |
24 | inner: StateHandle, |
25 | |
26 | |
27 | |
28 | |
29 | state: , |
30 | |
31 | |
32 | |
33 | |
34 | /// The pointer to the next item. |
35 | /// |
36 | /// `next_item` is most likely always an `FfiValue<StateItem<()>>` and that's how we free them. |
37 | next_item: *const , |
38 | pub state_uuid: u128, |
39 | pub state: T, |
40 | |
41 | |
42 | |
43 | |
44 | let state_manager = unsafe ; |
45 | |
46 | for state in state_manager |
47 | |
48 | |
49 | |
50 | |
51 | state: &'s mut State, |
52 | last: , |
53 | |
54 | |
55 | |
56 | pub unsafe |
57 | todo! |
58 | |
59 | |
60 | pub unsafe |
61 | todo! |
62 | |
63 | |
64 | pub unsafe |
65 | todo! |
66 | |
67 | |
68 | |
69 | |
70 | type Item = ; |
71 | |
72 | |
73 | todo! |
74 | |
75 | |
76 | |
77 | |
78 | ; |
79 | |
80 | |
81 | None |
82 | |
83 | |
84 | |
85 | /// State values for the current execution domain. 99.99% of the time this means "plugin-specific" |
86 | /// |
87 | /// The remainder 0.01% of the time it refers to the daemon's runtime domain. |
88 | >); |
89 | |
90 | |
91 | |
92 | todo! |
93 | |
94 | |
95 | |
96 | ; |
97 | |
98 | |
99 | |
100 | todo! |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | todo! |
107 | |
108 | |
109 | |
110 | |
111 | pub queue_insert_state: unsafe extern "C" fn , |
112 | |
113 | |
114 | |
115 | type VTable = Runtime; |
116 | |
117 | |
118 | |
119 | ; |
120 | |
121 | |
122 | |
123 | |
124 | todo! |
125 | |
126 | |
127 | |
128 | |
129 | |
130 | todo! |
131 | |
132 | |
133 |