Fix KEvent header includes
This commit is contained in:
parent
5a06c2260d
commit
c398bdc534
1 changed files with 3 additions and 2 deletions
|
|
@ -47,8 +47,9 @@ const
|
||||||
EV_ERROR* = 0x4000 ## Error, data contains errno
|
EV_ERROR* = 0x4000 ## Error, data contains errno
|
||||||
|
|
||||||
type
|
type
|
||||||
KEvent* {.importc: "struct kevent",
|
KEvent* {.importc: "struct kevent", pure, final
|
||||||
header: "<sys/event.h>", pure, final.} = object
|
header: """#include <sys/types.h>
|
||||||
|
#include <sys/event.h>""".} = object
|
||||||
ident*: cuint ## identifier for this event (uintptr_t)
|
ident*: cuint ## identifier for this event (uintptr_t)
|
||||||
filter*: cshort ## filter for event
|
filter*: cshort ## filter for event
|
||||||
flags*: cushort ## general flags
|
flags*: cushort ## general flags
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue