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
Currently structs in the internal namespace use non blitable types like strings or delegates. This results in the LayoutKind attribute to be implicitly changed to "Auto".
Using blitable types should allow to use Unsafe.AsRef to access those types without creating a copy of the data.
To confirm this behavior test with the TypeInfo struct in GObject.Internal.TypeRegistrar first.
The text was updated successfully, but these errors were encountered:
Currently structs in the internal namespace use non blitable types like strings or delegates. This results in the LayoutKind attribute to be implicitly changed to "Auto".
Using blitable types should allow to use
Unsafe.AsRef
to access those types without creating a copy of the data.To confirm this behavior test with the
TypeInfo
struct inGObject.Internal.TypeRegistrar
first.The text was updated successfully, but these errors were encountered: