Skip to content

Parse constant definitions from Khronos registry and fixes wrong binding of array types #7

Open
Ybalrid wants to merge 2 commits intoEvergineTeam:mainfrom
Ybalrid:yba/XrUuid
Open

Parse constant definitions from Khronos registry and fixes wrong binding of array types #7
Ybalrid wants to merge 2 commits intoEvergineTeam:mainfrom
Ybalrid:yba/XrUuid

Conversation

@Ybalrid
Copy link

@Ybalrid Ybalrid commented Feb 27, 2026

This parses the defines in the registry, and add them as numerical constants if possible.

This also fixes the generation of struct members that are array of which the size is defined by such numerical constants.

This was mostly done to fix #6, which is a specific blocker for one of my projects.

I do not know what is the policy to update the generated bindings that are committed within the repository itself. Thus this is a separate commit, in case you did not want that.

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.

XrUuid wrapping is wrong, and only store the first byte of the 128 bit number

1 participant