Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Mark core.stdc.stdlib malloc functions as pure #1221

Closed
wants to merge 1 commit into from

Conversation

WalterBright
Copy link
Member

Since memory allocation via the GC is pure, it makes sense to make the C ones pure as well. Otherwise, it is very difficult to replace use of the GC with malloc/free and keep things pure.

@JakobOvrum
Copy link
Member

See #1183

@MartinNowak
Copy link
Member

Please add any arguments to #1183.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants