diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-01-25 01:27:29 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-25 09:27:29 +0100 |
commit | 981ffc912e1ef59a5fc74ee8fb769592b8cb1616 (patch) | |
tree | f123094756751b1fd51bbb8efff87ac369cb1de3 /lib | |
parent | 4cbeddddcc4cde2fb467bb7a3a30114474ae1565 (diff) | |
download | Nim-981ffc912e1ef59a5fc74ee8fb769592b8cb1616.tar.gz |
contributing docs: symbols need package prefix; changed allocStats to nimAllocStats (#13247)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/memalloc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/memalloc.nim b/lib/system/memalloc.nim index 201e92e98..df4df2c15 100644 --- a/lib/system/memalloc.nim +++ b/lib/system/memalloc.nim @@ -65,7 +65,7 @@ when hasAlloc and not defined(js): let stats2 = getAllocStats() echo $(stats2 - stats1) - when defined(allocStats): + when defined(nimAllocStats): var stats: AllocStats template incStat(what: untyped) = inc stats.what proc getAllocStats*(): AllocStats = stats |