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

Pointer Issues #11

Open
ominitay opened this issue Nov 15, 2021 · 1 comment
Open

Pointer Issues #11

ominitay opened this issue Nov 15, 2021 · 1 comment

Comments

@ominitay
Copy link
Owner

Pointers are different lengths depending on whether memory addresses are 64 or 32-bits long. This will cause the library to fail on non-64 bit architectures, as the sizes of structs will change. To get around this, pointers should be stored as a u64, and then cast into the correct pointer type.

@ominitay
Copy link
Owner Author

The two possible ways I can see run into either ziglang/zig#9512 or ziglang/zig#4562, so I'm putting this on hold for now, until either way becomes viable.

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

No branches or pull requests

1 participant