Debian Codegraph @

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

raw
1 #if 0
2 ''' '
3 #endif
4 #if defined(CBINDGEN_STYLE_TYPE)
5 /* ANONYMOUS STRUCTS DO NOT SUPPORT FORWARD DECLARATIONS!
6 #endif
7 #if 0
8 ' '''
9 #endif
10
11
12 from libc.stdint cimport int8_t, int16_t, int32_t, int64_t, intptr_t
13 from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, uintptr_t
14 cdef extern from *:
15 ctypedef bint bool
16 ctypedef struct va_list
17
18 cdef extern from *:
19
20 ctypedef struct StructInfo:
21 const TypeInfo *const *fields;
22 uintptr_t num_fields;
23
24 ctypedef enum TypeData_Tag:
25 Primitive,
26 Struct,
27
28 ctypedef struct TypeData:
29 TypeData_Tag tag;
30 StructInfo struct_;
31
32 ctypedef struct TypeInfo:
33 TypeData data;
34
35 void root(TypeInfo x);
36
37 #if 0
38 ''' '
39 #endif
40 #if defined(CBINDGEN_STYLE_TYPE)
41 */
42 #endif
43 #if 0
44 ' '''
45 #endif