Skip to content

Conversation

sukibaby
Copy link
Collaborator

Removes the following typedefs from Core.h, so that only standard types are used:

typedef uint64_t ulong
typedef uint32_t uint
typedef uint16_t ushort
typedef uint8_t uchar
typedef uint32_t color32

Also the Windows macro UINT is used in the code base so it just makes things a bit cleaner to explicitly use uint32_t instead of lowercase uint.

Note I don't find much value in the color32 typedef (I prefer knowing it's a 32 bit unsigned), but if others prefer it being color32, I don't feel super strongly about it.

Removes the following typedefs from Core.h, so that only standard types are used:

typedef uint64_t  ulong
typedef uint32_t   uint
typedef uint16_t ushort
typedef uint8_t  uchar
typedef uint32_t   color32
@uvcat7 uvcat7 self-requested a review July 10, 2025 22:59
Copy link
Owner

@uvcat7 uvcat7 left a comment

Choose a reason for hiding this comment

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

LGTM

@uvcat7 uvcat7 merged commit d7c126f into uvcat7:beta Jul 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants