Skip to content

Various small stuff#373

Merged
texus merged 5 commits into
texus:1.xfrom
jjuhl:various-small-stuff
May 27, 2026
Merged

Various small stuff#373
texus merged 5 commits into
texus:1.xfrom
jjuhl:various-small-stuff

Conversation

@jjuhl
Copy link
Copy Markdown
Contributor

@jjuhl jjuhl commented May 27, 2026

No description provided.

jjuhl added 5 commits May 27, 2026 16:24
If argc is not at least 1, we'll be in undefined behaviour land when
we do argv[0] and argc can indeed be 0 with an empty argv if we are
launched by some other application.
…tatic

std::uint8_t reads better as "raw bytes" than "unsigned char" (IMHO).
Add constexpr since this is a fixed compile-time array.
Remove static; static gives each translation unit its own private copy
(internal linkage, not what we want), while inline ensures a single
ODR-shared entity across translation units (what we want).
@texus texus merged commit d5d5138 into texus:1.x May 27, 2026
15 checks passed
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.

2 participants