Pre vtable changes
parent: tbd commit: d17a4b2
1 | use CStr; |
2 | |
3 | use crate:: |
4 | , |
5 | , |
6 | FfiSlice, FfiSliceRef, FfiValue, FfiValueRef, |
7 | ; |
8 | |
9 | use ; |
10 | |
11 | |
12 | |
13 | inner: , |
14 | vtable: &'static , |
15 | |
16 | |
17 | |
18 | type VTable = OperationVTable; |
19 | |
20 | |
21 | |
22 | pub operation_kind: &'static CStr, |
23 | pub operation_serialize: |
24 | unsafe extern "C" fn , |
25 | pub operation_deserialize: |
26 | unsafe extern "C" fn , |
27 | pub success_serialize: |
28 | unsafe extern "C" fn , |
29 | pub success_deserialize: |
30 | unsafe extern "C" fn , |
31 | pub failure_serialize: |
32 | unsafe extern "C" fn , |
33 | pub failure_deserialize: |
34 | unsafe extern "C" fn , |
35 | |
36 | |
37 | |
38 | pub const |
39 | todo! |
40 | |
41 | |
42 | |
43 | |
44 | ; |
45 | unsafe extern "C" |
46 | this: , |
47 | ; |
48 | unsafe extern "C" |
49 | buffer: , |
50 | ; |
51 | unsafe extern "C" |
52 | success: FfiValueRefUntyped, |
53 | ; |
54 | unsafe extern "C" |
55 | buffer: , |
56 | ; |
57 | unsafe extern "C" |
58 | failure: FfiValueRefUntyped, |
59 | ; |
60 | unsafe extern "C" |
61 | buffer: , |
62 | ; |
63 | |
64 |