13
115
Fork
You've already forked zig-sdl3
19

Add names to anon struct #159

Merged
Gota7 merged 1 commit from tiger-chan/zig-sdl3:master into master 2026年01月15日 13:37:28 +01:00
Contributor
Copy link

Changes:

  • Add names to a hand full of tuple return types to allow TTF example to compile.
Changes: - Add names to a hand full of tuple return types to allow TTF example to compile.
tiger-chan changed title from (削除) WIP: Add names to anon struct (削除ここまで) to Add names to anon struct 2026年01月14日 03:16:57 +01:00
Owner
Copy link

These are tuples and they were made like this on purpose so tuple destructuring could be done. The example should be updated instead. See this for how to destructure: https://ziglang.org/documentation/0.15.2/#Destructuring-Tuples

These are tuples and they were made like this on purpose so tuple destructuring could be done. The example should be updated instead. See this for how to destructure: https://ziglang.org/documentation/0.15.2/#Destructuring-Tuples
Contributor
Copy link

See #146 for the reasoning and before/after comparison.

See #146 for the reasoning and before/after comparison.
tiger-chan force-pushed master from baddb7a80a
Some checks failed
test / Build Documentation (pull_request) Has been cancelled
test / Build Examples (pull_request) Has been cancelled
test / Build Template (pull_request) Has been cancelled
test / Testing (pull_request) Has been cancelled
to b9a94f5a68
Some checks failed
test / Build Documentation (pull_request) Has been cancelled
test / Build Examples (pull_request) Has been cancelled
test / Build Template (pull_request) Has been cancelled
test / Testing (pull_request) Has been cancelled
2026年01月15日 02:46:40 +01:00
Compare
Author
Contributor
Copy link

Wasn't sure which direction to go with it, I've updated it to be destructured.

Wasn't sure which direction to go with it, I've updated it to be destructured.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
7Games/zig-sdl3!159
Reference in a new issue
7Games/zig-sdl3
No description provided.
Delete branch "tiger-chan/zig-sdl3:master"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?