diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-09-28 17:09:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 11:09:01 +0200 |
commit | 89f76bb4484ee49228558baa96001147136c8c2d (patch) | |
tree | b8f2a70849bc68b72689609c94008518bd493bef /lib | |
parent | fd257a9a0f363bd31cb0702c729193ee7f8fe8ef (diff) | |
download | Nim-89f76bb4484ee49228558baa96001147136c8c2d.tar.gz |
follow up #19408; bump devel version and deprecated unsafeAddr (#20432)
bump devel version and deprecated unsafeAddr
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 4faea91f1..5b191f1e9 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -211,7 +211,8 @@ proc `addr`*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} = ## ``` discard -proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} = +proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect, + deprecated: "'unsafeAddr' is a deprecated alias for 'addr'".} = ## Builtin `addr` operator for taking the address of a memory ## location. ## @@ -2147,7 +2148,7 @@ const ## is the minor number of Nim's version. ## Odd for devel, even for releases. - NimPatch* {.intdefine.}: int = 1 + NimPatch* {.intdefine.}: int = 3 ## is the patch number of Nim's version. ## Odd for devel, even for releases. |