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

Classes section: i32 type for size_t #55

Open
marcauberer opened this issue Apr 23, 2023 · 1 comment
Open

Classes section: i32 type for size_t #55

marcauberer opened this issue Apr 23, 2023 · 1 comment

Comments

@marcauberer
Copy link

Hi,
first of all thanks for the helpful documentation!
The section about classes has a little flaw: it used the i32 type instead of i64 like most compilers will emit nowadays. Was a little confused about this at first.

Best,
Marc

@archfrog
Copy link
Collaborator

It was written more than a decade ago, hence the 32-bit types. But I think you're right, the types and samples should probably be updated. I'll see if I can find some time soon :-) I don't know what to do with the setjmp example, though, as the divinely inspired people who made a 64-bit version of setjmp only gave it a 32-bit argument so it sort of breaks everything.

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

2 participants