Skip to content

DXC: Annotate new struct fields and enums#1989

Open
MarijnS95 wants to merge 2 commits intomicrosoft:mainfrom
MarijnS95:dxc-enum
Open

DXC: Annotate new struct fields and enums#1989
MarijnS95 wants to merge 2 commits intomicrosoft:mainfrom
MarijnS95:dxc-enum

Conversation

@MarijnS95
Copy link
Contributor

@MarijnS95 MarijnS95 commented Aug 30, 2024

For #474 (comment).

For DXC_FOURCC it would have been awesome if we could have something like the following, if const methods were supported:

public static const uint DXC_FOURCC(char ch0, char ch1, char ch2, char ch3) => ch0 | (ch1 << 8) | (ch2 << 16) | (ch3 << 24);

For `DXC_FOURCC` it would have been awesome if we could have something
like the following, if `const` methods were supported:

```cs
public static const uint DXC_FOURCC(char ch0, char ch1, char ch2, char ch3) => ch0 | (ch1 << 8) | (ch2 << 16) | (ch3 << 24);
```
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.

3 participants