Skip to content
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

Issue #1851: fix alignedAlloc API to correctly allocate aligned memory; #1864

Closed
wants to merge 6 commits into from

Conversation

Projects
None yet
1 participant
@kristate
Copy link
Contributor

kristate commented Dec 31, 2018

Fixes #1851

@alignTo(from: T, to: T) 82c4c71

  • Implementation
  • Documentation
  • Test Cases
    • non-zero
    • negative comptime
    • non-unsigned integer

@alignedSizeOf(T) 2f26126

  • Implementation
  • Documentation
  • Test Cases

alignedAlloc 413db10 a9b59ef

  • Implementation
  • Documentation
  • Test Cases
    • issue 1851

On a side-note, this will be my last PR of 2018. I want to say thanks to everyone in the community for a fun and enjoyable 2018. I look forward to a productive 2019 with everyone! Happy New Year!

@kristate kristate changed the title Zig backport issue1851 Issue #1851: fix alignedAlloc API to correctly allocate aligned memory; Dec 31, 2018

@kristate kristate closed this Dec 31, 2018

@kristate kristate reopened this Dec 31, 2018

@kristate kristate force-pushed the kristate:zig-backport-issue1851 branch from 42c9700 to e6a1751 Jan 3, 2019

@kristate kristate closed this Jan 3, 2019

@kristate kristate reopened this Jan 3, 2019

@kristate

This comment has been minimized.

Copy link
Contributor Author

kristate commented Feb 2, 2019

note: going to rebase this over the weekend

@kristate kristate force-pushed the kristate:zig-backport-issue1851 branch from d9e3e1b to cb6e3d2 Feb 4, 2019

kristate added some commits Dec 31, 2018

@kristate kristate force-pushed the kristate:zig-backport-issue1851 branch from cb6e3d2 to e9af852 Feb 4, 2019

@kristate kristate closed this Feb 4, 2019

@kristate kristate reopened this Feb 4, 2019

@andrewrk andrewrk closed this in 7293e01 Feb 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.