added styleChecks:off
This commit is contained in:
parent
88401f510f
commit
e3c08b54b8
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,8 @@
|
|||
#
|
||||
|
||||
{.deadCodeElim: on.}
|
||||
when defined(nimHasStyleChecks):
|
||||
{.push styleChecks: off.}
|
||||
|
||||
when defined(windows):
|
||||
import os
|
||||
|
|
@ -188,3 +190,5 @@ proc prep_closure_loc*(closure: ptr Closure, cif: var TCif, fun: ClosureProc, us
|
|||
|
||||
# Useful for eliminating compiler warnings
|
||||
##define FFI_FN(f) ((void (*)(void))f)
|
||||
when defined(nimHasStyleChecks):
|
||||
{.pop.} # {.push styleChecks: off.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue