misc cleanups (#16383)
This commit is contained in:
parent
868c31e88a
commit
df17cf5e9e
3 changed files with 8 additions and 7 deletions
|
|
@ -873,9 +873,9 @@ else:
|
|||
template `<//>`*(t: untyped): untyped = t
|
||||
|
||||
template disarm*(x: typed) =
|
||||
## Useful for ``disarming`` dangling pointers explicitly for the
|
||||
## --newruntime. Regardless of whether --newruntime is used or not
|
||||
## this sets the pointer or callback ``x`` to ``nil``. This is an
|
||||
## Useful for `disarming` dangling pointers explicitly for `--newruntime`.
|
||||
## Regardless of whether `--newruntime` is used or not
|
||||
## this sets the pointer or callback `x` to `nil`. This is an
|
||||
## experimental API!
|
||||
x = nil
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue