Trim remaining expr/stmt from stdlib (#6742)
This commit is contained in:
parent
7f4248dc0c
commit
0ab373115c
9 changed files with 16 additions and 16 deletions
|
|
@ -173,7 +173,7 @@ proc internRefcount(p: pointer): int {.exportc: "getRefcount".} =
|
|||
when BitsPerPage mod (sizeof(int)*8) != 0:
|
||||
{.error: "(BitsPerPage mod BitsPerUnit) should be zero!".}
|
||||
|
||||
template color(c): expr = c.refCount and colorMask
|
||||
template color(c): untyped = c.refCount and colorMask
|
||||
template setColor(c, col) =
|
||||
c.refcount = c.refcount and not colorMask or col
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue