no cost
This commit is contained in:
parent
e9f09a14dd
commit
268e653b05
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ template failInvalid(reason = "unable to load") =
|
|||
## Throw exception with a reason.
|
||||
raise newException(PixieError, "Invalid JPEG, " & reason)
|
||||
|
||||
template clampByte(x: int32): uint8 =
|
||||
proc clampByte(x: int32): uint8 {.inline.} =
|
||||
## Clamp integer into byte range.
|
||||
# clamp(x, 0, 0xFF).uint8
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue