compilation.nim 474 B

12345678910111213141516
  1. const
  2. NimMajor* {.intdefine.}: int = 1
  3. ## is the major number of Nim's version. Example:
  4. ##
  5. ## .. code-block:: Nim
  6. ## when (NimMajor, NimMinor, NimPatch) >= (1, 3, 1): discard
  7. # see also std/private/since
  8. NimMinor* {.intdefine.}: int = 6
  9. ## is the minor number of Nim's version.
  10. ## Odd for devel, even for releases.
  11. NimPatch* {.intdefine.}: int = 16
  12. ## is the patch number of Nim's version.
  13. ## Odd for devel, even for releases.