Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/maybeuninit.pyx

raw
1 #if 0
2 ''' '
3 #endif
4
5 #ifdef __cplusplus
6 template <typename T>
7 using MaybeUninit = T;
8 #endif
9
10 #if 0
11 ' '''
12 #endif
13
14
15 from libc.stdint cimport int8_t, int16_t, int32_t, int64_t, intptr_t
16 from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, uintptr_t
17 cdef extern from *:
18 ctypedef bint bool
19 ctypedef struct va_list
20
21 cdef extern from *:
22
23 ctypedef struct NotReprC______i32:
24 pass
25
26 ctypedef NotReprC______i32 Foo;
27
28 ctypedef struct MyStruct:
29 const int32_t *number;
30
31 void root(const Foo *a, const MyStruct *with_maybe_uninit);