Revert "fix #14873 properly by skipping abi field in importc type (#17944)" (#17992)

This reverts commit 98c29c01eb.
This commit is contained in:
Andreas Rumpf 2021-05-15 06:50:39 +02:00 • committed by GitHub
commit 4857c462d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 17 deletions

View file

@ -28,6 +28,11 @@ type
{.push stackTrace: off.}
proc `$`*(lock: Lock): string =
# workaround bug #14873
result = "()"
proc initLock*(lock: var Lock) {.inline.} =
## Initializes the given lock.
when not defined(js):