Enumerations with Underlying Type Supported? #87
Replies: 1 comment 1 reply
|
No C23-specific feature is supported (unless it happens to be one that was supported since a long time by gcc, but that's not one). In CFFI, all enums are assumed equal to Note however that you also can't use There are still other places where |
Uh oh!
There was an error while loading. Please reload this page.
In the out-of-line API mode of usage, are enumerations with underlying types supported (C23)? As an example, assume the C source file has:
And the
ffibuilder.cdef()has:Is cffi able to infer that the underlying type of
enum colorisunsigned short? If not, is the use ofint...required or sufficient?All reactions