added InSystemModule for hti.nim
This commit is contained in:
parent
dcff5571a2
commit
d3ec5a2cee
2 changed files with 3 additions and 2 deletions
|
|
@ -47,6 +47,8 @@ const
|
|||
|
||||
{.push hints: off.}
|
||||
|
||||
const InSystemModule = true
|
||||
|
||||
type
|
||||
Ordinal* {.magic: Ordinal.}[T]
|
||||
`nil` {.magic: "Nil".}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@
|
|||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
when defined(NimString):
|
||||
# we are in system module:
|
||||
when defined(InSystemModule):
|
||||
{.pragma: codegenType, compilerproc.}
|
||||
else:
|
||||
{.pragma: codegenType.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue