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

feat: update byte_type #62

Closed
wants to merge 2 commits into from
Closed

feat: update byte_type #62

wants to merge 2 commits into from

Conversation

load1n9
Copy link
Contributor

@load1n9 load1n9 commented Jan 25, 2023

No description provided.

mod.ts Outdated Show resolved Hide resolved
@@ -1137,26 +1170,33 @@ export class Window {
* ```
*/
export class WindowBuilder {
private flags: number = 0;
#flags = 0;

Choose a reason for hiding this comment

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

This could possibly be represented using the BitFlags32 type from byte_type.

@@ -1039,7 +1039,7 @@ const SDL_KeyboardEvent = new PackedStruct({
keysym: SDL_KeySym,
});

Choose a reason for hiding this comment

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

Remove padding from all structs now that they are aligned and automatically padded...

@load1n9 load1n9 closed this by deleting the head repository Sep 27, 2024
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.

2 participants