File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,8 @@ proc `addr`*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} =
211211 # # ```
212212 discard
213213
214- proc unsafeAddr * [T](x: T): ptr T {.magic : " Addr" , noSideEffect .} =
214+ proc unsafeAddr * [T](x: T): ptr T {.magic : " Addr" , noSideEffect ,
215+ deprecated : " 'unsafeAddr' is a deprecated alias for 'addr'" .} =
215216 # # Builtin `addr` operator for taking the address of a memory
216217 # # location.
217218 # #
@@ -2147,7 +2148,7 @@ const
21472148 # # is the minor number of Nim's version.
21482149 # # Odd for devel, even for releases.
21492150
2150- NimPatch * {.intdefine .}: int = 1
2151+ NimPatch * {.intdefine .}: int = 3
21512152 # # is the patch number of Nim's version.
21522153 # # Odd for devel, even for releases.
21532154
You can’t perform that action at this time.
0 commit comments