Files
cbindgen/tests/expectations/decl_name_conflicting.pyx
T
Emilio Cobos Álvarez 750745831a ir: Deal with name conflicts correctly in declaration type resolution.
So, basically, make opaque items last, and make previous names override
them.

Fixes #649
2021-01-26 12:55:05 +01:00

18 lines
420 B
Cython

from libc.stdint cimport int8_t, int16_t, int32_t, int64_t, intptr_t
from libc.stdint cimport uint8_t, uint16_t, uint32_t, uint64_t, uintptr_t
cdef extern from *:
ctypedef bint bool
ctypedef struct va_list
cdef extern from *:
cdef enum:
Buffer # = 0,
NotBuffer # = 1,
ctypedef uint32_t BindingType;
ctypedef struct BindGroupLayoutEntry:
BindingType ty;
void root(BindGroupLayoutEntry entry);