fix: InotifyEvent.name should be UncheckedArray[char] (#23413)

This commit is contained in:
Tobias Dély
2024-09-09 11:45:58 +02:00
committed by GitHub
parent 09682ac7f1
commit 8b895afcb5

View File

@@ -20,7 +20,7 @@ type
mask* {.importc: "mask".}: uint32 ## Watch mask.
cookie* {.importc: "cookie".}: uint32 ## Cookie to synchronize two events.
len* {.importc: "len".}: uint32 ## Length (including NULs) of name.
name* {.importc: "name".}: char ## Name.
name* {.importc: "name".}: UncheckedArray[char] ## Name.
# Supported events suitable for MASK parameter of INOTIFY_ADD_WATCH.
const