mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
16 lines
474 B
Nim
16 lines
474 B
Nim
const
|
|
NimMajor* {.intdefine.}: int = 1
|
|
## is the major number of Nim's version. Example:
|
|
##
|
|
## .. code-block:: Nim
|
|
## when (NimMajor, NimMinor, NimPatch) >= (1, 3, 1): discard
|
|
# see also std/private/since
|
|
|
|
NimMinor* {.intdefine.}: int = 6
|
|
## is the minor number of Nim's version.
|
|
## Odd for devel, even for releases.
|
|
|
|
NimPatch* {.intdefine.}: int = 20
|
|
## is the patch number of Nim's version.
|
|
## Odd for devel, even for releases.
|