You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was using 14.0.0-beta2, which I'm trying to upgrade to in the Win32Metadata project. The previous version I was using omitted the * but I was able to turn it into an array by looking at the NativeTypeName attribute.
The text was updated successfully, but these errors were encountered:
Reopening. The issue isn't that unsafe is missing but this being treated as a pointer at all.
C incomplete arrays are the "same" as zero sized arrays (that is COMPATIBILITY_CONTEXT_ELEMENT Elements[] is the same as COMPATIBILITY_CONTEXT_ELEMENT Elements[0]).
This has interesting behaviors where-as it is functionally:
Much like many structs that have 0/1 fixed-sized buffers, these "must" be the last element and the overall struct must always be accessed/passed by reference.
winnt.h:
Scanned output:
This was using 14.0.0-beta2, which I'm trying to upgrade to in the Win32Metadata project. The previous version I was using omitted the * but I was able to turn it into an array by looking at the NativeTypeName attribute.
The text was updated successfully, but these errors were encountered: