8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c6a7f commit 5af1961Copy full SHA for 5af1961
src/runtime/Native/NativeTypeSpec.cs
@@ -10,7 +10,7 @@ struct NativeTypeSpec : IDisposable
10
public readonly StrPtr Name;
11
public readonly int BasicSize;
12
public readonly int ItemSize;
13
- public readonly TypeFlags Flags;
+ public readonly IntPtr Flags;
14
public IntPtr Slots;
15
16
public NativeTypeSpec(TypeSpec spec)
@@ -20,7 +20,7 @@ public NativeTypeSpec(TypeSpec spec)
20
this.Name = new StrPtr(spec.Name, Encoding.UTF8);
21
this.BasicSize = spec.BasicSize;
22
this.ItemSize = spec.ItemSize;
23
- this.Flags = spec.Flags;
+ this.Flags = new IntPtr((long)spec.Flags);
24
25
unsafe
26
{
0 commit comments