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

Eliminate HASH_DEFINE_OWN_STDINT #266

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Conversation

Quuxplusone
Copy link
Collaborator

This macro was introduced in 15ad042 for the benefit of people
who were relying on "uthash.h" to define its own uint8_t and
uint32_t typedefs, instead of either (1) getting them from the
Standard Library or (2) getting them from the user-programmer
somehow (e.g. typedef char uint8_t before including "uthash.h").
I see two projects using HASH_NO_STDINT, but zero projects
using HASH_DEFINE_OWN_STDINT, and somehow five years have passed;
it's time to kill off HASH_DEFINE_OWN_STDINT.

This macro was introduced in 15ad042 for the benefit of people
who were relying on "uthash.h" to define its own `uint8_t` and
`uint32_t` typedefs, instead of either (1) getting them from the
Standard Library or (2) getting them from the user-programmer
somehow (e.g. `typedef char uint8_t` before including "uthash.h").
I see two projects using `HASH_NO_STDINT`, but zero projects
using `HASH_DEFINE_OWN_STDINT`, and somehow five years have passed;
it's time to kill off `HASH_DEFINE_OWN_STDINT`.
@Quuxplusone Quuxplusone self-assigned this Jan 27, 2025
@Quuxplusone Quuxplusone merged commit 41c357f into troydhanson:master Feb 10, 2025
5 checks passed
@Quuxplusone Quuxplusone deleted the stdint branch February 10, 2025 08:09
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.

1 participant