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

Please translate stdint.h #275

Open
ghost opened this issue Jan 2, 2024 · 1 comment
Open

Please translate stdint.h #275

ghost opened this issue Jan 2, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 2, 2024

It will help translating C headers easier.

@IsaacShelton
Copy link
Collaborator

Unlike in C, the int types are well defined so you should probably be able to just do a replace-all

alias int8_t = byte
alias int16_t = short
alias int32_t = int
alias int64_t = long
alias uint8_t = ubyte
alias uint16_t = ushort
alias uint32_t = uint
alias uint64_t = ulong

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