Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
This commit is contained in:
parent
8619534293
commit
e7f280bd26
41 changed files with 155 additions and 519 deletions
|
|
@ -367,7 +367,7 @@ A similar thing happens with C code invoking Nim code which returns a
|
|||
.. code-block:: nim
|
||||
|
||||
proc gimme(): cstring {.exportc.} =
|
||||
result = "Hey there C code! " & $random(100)
|
||||
result = "Hey there C code! " & $rand(100)
|
||||
|
||||
Since Nim's garbage collector is not aware of the C code, once the
|
||||
``gimme`` proc has finished it can reclaim the memory of the ``cstring``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue