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

enum BlockLevel: Make a real enum #760

Merged
merged 8 commits into from
Feb 29, 2024
Merged

enum BlockLevel: Make a real enum #760

merged 8 commits into from
Feb 29, 2024

Conversation

folkertdev
Copy link
Collaborator

a bit more experimental, and some naming choices to be made here. I'll leave some inline comments

src/decode.rs Outdated Show resolved Hide resolved
src/decode.rs Outdated Show resolved Hide resolved
src/intra_edge.rs Outdated Show resolved Hide resolved
src/levels.rs Outdated Show resolved Hide resolved
src/levels.rs Outdated Show resolved Hide resolved
src/env.rs Outdated Show resolved Hide resolved
@kkysen
Copy link
Collaborator

kkysen commented Feb 24, 2024

Hey @folkertdev, I was working on intra_edges.rs last night, too, and make it all safe and statically initialized. Sorry for the overlap; we'll have to merge a bunch of stuff. I didn't make things bitflags! or enums yet though.

Copy link
Collaborator

@kkysen kkysen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I opened #762 now.

src/levels.rs Outdated Show resolved Hide resolved
src/levels.rs Outdated Show resolved Hide resolved
@kkysen kkysen changed the title make BlockLevel an enum enum BlockLevel: Make a real enum Feb 26, 2024
src/levels.rs Outdated Show resolved Hide resolved
@folkertdev folkertdev force-pushed the edge-flags-bitflags branch 2 times, most recently from 2836d36 to 49b8c87 Compare February 28, 2024 22:45
Base automatically changed from edge-flags-bitflags to main February 29, 2024 11:59
src/decode.rs Outdated Show resolved Hide resolved
src/intra_edge.rs Show resolved Hide resolved
src/env.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@randomPoison randomPoison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I left a handful of comments, but they're pretty much all stylistic so I'm going to approve now and we can merge once you've made any necessary updates.

src/decode.rs Outdated Show resolved Hide resolved
src/decode.rs Outdated Show resolved Hide resolved
src/env.rs Outdated Show resolved Hide resolved
src/env.rs Outdated Show resolved Hide resolved
src/intra_edge.rs Show resolved Hide resolved
src/intra_edge.rs Show resolved Hide resolved
src/levels.rs Outdated Show resolved Hide resolved
src/tables.rs Outdated Show resolved Hide resolved
src/intra_edge.rs Outdated Show resolved Hide resolved
@kkysen kkysen merged commit b40cfa5 into main Feb 29, 2024
34 checks passed
@kkysen kkysen deleted the blocklevel-enum branch February 29, 2024 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants