More restructuring
parent: tbd commit: 10b7b7c
1 | use crate:: |
2 | |
3 | , SettingGetterCallback, | OperationHandlerCallback
4 | , CallbackPtr, | ValueGetterCallback
5 | , |
6 | FfiValueMut, |
7 | ; |
8 | |
9 | use ; |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | pub register_object: |
18 | unsafe extern "C" fn , |
19 | pub register_operation: unsafe extern "C" fn |
20 | state: | ,
21 | &'static str, |
22 | &'static str, |
23 | &'static , |
24 | , |
25 | pub register_setting: unsafe extern "C" fn |
26 | state: | ,
27 | &'static str, |
28 | &'static str, |
29 | &'static , |
30 | , |
31 | pub register_value: unsafe extern "C" fn |
32 | state: | ,
33 | &'static str, |
34 | &'static str, |
35 | &'static , |
36 | , |
37 | |
38 | pub operation_handler: unsafe extern "C" fn |
39 | state: | ,
40 | &'static str, |
41 | &'static str, |
42 | , |
43 | , |
44 | |
45 | pub value_getter: unsafe extern "C" fn |
46 | state: | ,
47 | &'static str, |
48 | &'static str, |
49 | , |
50 | , |
51 | |
52 | pub setting_getter: unsafe extern "C" fn |
53 | state: | ,
54 | &'static str, |
55 | &'static str, |
56 | , |
57 | , |
58 | |
59 | |
60 | |
61 | type VTable = InitializationVTable; |
62 | |
63 | |
64 | unsafe |
65 | unsafe |
66 |