We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looking at the current system documentation the typed alloc/free pairs are confusing:
Nim/lib/system.nim
Lines 2397 to 2423 in 4e0f120
Lines 2473 to 2483 in 4e0f120
Lines 2485 to 2497 in 4e0f120
Lines 2525 to 2536 in 4e0f120
create does not have a free to pair with, unlike createShared. Also while create refers to dealloc in the documentation, dealloc only refers to alloc.
create
free
createShared
dealloc
alloc
The text was updated successfully, but these errors were encountered:
close nim-lang#12580
7150439
[docs]close #12580 (#17549)
e5be216
Successfully merging a pull request may close this issue.
Looking at the current system documentation the typed alloc/free pairs are confusing:
alloc/create --> dealloc
Nim/lib/system.nim
Lines 2397 to 2423 in 4e0f120
dealloc <--> alloc
Nim/lib/system.nim
Lines 2473 to 2483 in 4e0f120
allocShared <--> deallocShared
Nim/lib/system.nim
Lines 2485 to 2497 in 4e0f120
createShared <--> freeShared
Nim/lib/system.nim
Lines 2525 to 2536 in 4e0f120
The confusion
create
does not have afree
to pair with, unlikecreateShared
.Also while
create
refers todealloc
in the documentation,dealloc
only refers toalloc
.The text was updated successfully, but these errors were encountered: