-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Stop including malloc/free by default #12213
New issue
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
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
481c365
start somewhere [ci skip]
kripken a6f7487
more [ci skip]
kripken cc10e48
finish?
kripken 2e650da
fixes
kripken 853820a
test updates
kripken dc7ebb0
test updates
kripken 805ab76
fixes
kripken 35f68de
fix
kripken f19ce33
fix
kripken b86705e
fix [ci skip]
kripken 15cac10
better
kripken 59e7980
add test
kripken 01cc0fb
better
kripken c863e55
better
kripken 3bd2a21
fix
kripken 3254f23
fixes
kripken 3a51c71
fixes
kripken 4bec914
fixes
kripken abc1b91
merge
kripken 5317fda
log
kripken d1ec7dc
refactor mmapAlloc
kripken f32a2be
only assertions
kripken df9dc35
embind too
kripken 348de37
more
kripken 519c36e
Revert "refactor mmapAlloc"
kripken cef86f2
filesystem fix
kripken e1dbdb1
fix
kripken 3a4e374
Merge remote-tracking branch 'origin/master' into nomalloc
kripken 27522ba
nicer
kripken c74f7f7
better
kripken 36d4ee5
better
kripken c46129f
fix sanitizers
kripken ab88c3e
free deps
kripken 3028848
Merge remote-tracking branch 'origin/master' into nomalloc
kripken 02b0317
flake8 [ci skip]
kripken 2b4a67f
Merge remote-tracking branch 'origin/master' into nomalloc
kripken 99ac741
update after feedback and merge
kripken 150d1fb
feedback
kripken c510fb1
better name
kripken 8393e1b
fix
kripken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did this work previously?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It worked thanks to how aliases work:
a: "b"
meansa
is an alias ofb
, so it just emitsBasically it does an indirection. And that happens to work if
b
is in JS or in compiled code. It is confusing though which is why I changed it.Thinking on it now, though, even better would be to implement these in C. However it's for SDL1 and not 2 so it matters less.