-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
hi,
i'm trying to figure out why anonymous enumerations do not appear in ffiex anywhere after calling cdef.
for example,
ffi = require'ffiex'
-- example from /usr/include/net/if.h
ffi.cdef[[
enum
{
IFF_UP = 0x1, /* Interface is up. */
# define IFF_UP IFF_UP
};
]]after running this, what lua code will print the value of IFF_UP as 1? i am confused because i cannot find IFF_UP in any of ffiex's tables.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels