Debian Codegraph @

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

raw
1 from libc.stdint cimport int8_t, int16_t, int32_t, int64_t, intptr_t
2 from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, uintptr_t
3 cdef extern from *:
4 ctypedef bint bool
5 ctypedef struct va_list
6
7 cdef extern from *:
8
9 const uintptr_t TITLE_SIZE # = 80
10
11 ctypedef int8_t CArrayString_TITLE_SIZE[TITLE_SIZE];
12
13 ctypedef int8_t CArrayString_40[40];
14
15 ctypedef struct Book:
16 CArrayString_TITLE_SIZE title;
17 CArrayString_40 author;
18
19 void root(Book *a);