Prepare for overlapping struct field handling (#121)

This commit is contained in:
Patrick Stevens
2025-08-29 18:27:34 +01:00
committed by GitHub
parent 5e7bd969ba
commit cb5d76f059
12 changed files with 188 additions and 205 deletions

View File

@@ -167,8 +167,8 @@ module PrimitiveType =
| PrimitiveType.Double -> 8
| PrimitiveType.String -> 8
| PrimitiveType.TypedReference -> failwith "todo"
| PrimitiveType.IntPtr -> 8
| PrimitiveType.UIntPtr -> 8
| PrimitiveType.IntPtr -> NATIVE_INT_SIZE
| PrimitiveType.UIntPtr -> NATIVE_INT_SIZE
| PrimitiveType.Object -> 8
type TypeDefn =