docs for the heap dump feature
This commit is contained in:
parent
704eae8495
commit
915cc86f5d
2 changed files with 18 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ when defined(nimTypeNames):
|
|||
it = it.nextType
|
||||
|
||||
template decTypeSize(cell, t) =
|
||||
# XXX this needs to use atomics for multithreaded apps!
|
||||
when defined(nimTypeNames):
|
||||
if t.kind in {tyString, tySequence}:
|
||||
let len = cast[PGenericSeq](cellToUsr(cell)).len
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue