Remove unnecessary importc from inline and fixup some compilation

This commit is contained in:
Joey Yakimowich-Payne 2022-12-06 17:05:28 -07:00
commit 2519f4d88d
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
42 changed files with 164 additions and 246 deletions

View file

@ -21,8 +21,7 @@ type
next*: ptr Thread
prevNext*: ptr ptr Thread
proc waiterForThread*(t: ptr Thread): Waiter {.inline, cdecl,
importc: "waiterForThread".} =
proc waiterForThread*(t: ptr Thread): Waiter {.inline, cdecl.} =
## / Creates a \ref Waiter for a \ref Thread.
return waiterForHandle(t.handle)