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.}
|
{.push hints: off.}
|
||||||
|
|
||||||
|
const InSystemModule = true
|
||||||
|
|
||||||
type
|
type
|
||||||
Ordinal* {.magic: Ordinal.}[T]
|
Ordinal* {.magic: Ordinal.}[T]
|
||||||
`nil` {.magic: "Nil".}
|
`nil` {.magic: "Nil".}
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,7 @@
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
#
|
#
|
||||||
|
|
||||||
when defined(NimString):
|
when defined(InSystemModule):
|
||||||
# we are in system module:
|
|
||||||
{.pragma: codegenType, compilerproc.}
|
{.pragma: codegenType, compilerproc.}
|
||||||
else:
|
else:
|
||||||
{.pragma: codegenType.}
|
{.pragma: codegenType.}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue