Skip to content

Commit

Permalink
Test changes for arithmetic conversions in macros
Browse files Browse the repository at this point in the history
This commit includes all the test changes subsequent to the previous
commit. It was kept separate for the sake of rebasing.
  • Loading branch information
sheaf committed Jan 10, 2025
1 parent 503e9f8 commit dea0e1a
Show file tree
Hide file tree
Showing 42 changed files with 1,767 additions and 1,223 deletions.
96 changes: 48 additions & 48 deletions hs-bindgen/fixtures/anonymous.hs

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions hs-bindgen/fixtures/anonymous.tree-diff.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ WrapCHeader
fieldName = CName "a",
fieldOffset = 0,
fieldType = TypePrim
(PrimIntegral (PrimInt Signed)),
(PrimIntegral PrimInt Signed),
fieldSourceLoc =
"examples/anonymous.h:4:9"},
StructField {
fieldName = CName "b",
fieldOffset = 32,
fieldType = TypePrim
(PrimIntegral (PrimInt Signed)),
(PrimIntegral PrimInt Signed),
fieldSourceLoc =
"examples/anonymous.h:5:9"}],
structFlam = Nothing,
Expand Down Expand Up @@ -55,7 +55,7 @@ WrapCHeader
fieldName = CName "d",
fieldOffset = 64,
fieldType = TypePrim
(PrimIntegral (PrimInt Signed)),
(PrimIntegral PrimInt Signed),
fieldSourceLoc =
"examples/anonymous.h:8:7"}],
structFlam = Nothing,
Expand All @@ -81,7 +81,7 @@ WrapCHeader
fieldName = CName "b",
fieldOffset = 0,
fieldType = TypePrim
(PrimIntegral (PrimInt Signed)),
(PrimIntegral PrimInt Signed),
fieldSourceLoc =
"examples/anonymous.h:16:11"}],
structFlam = Nothing,
Expand All @@ -103,7 +103,7 @@ WrapCHeader
fieldName = CName "a",
fieldOffset = 0,
fieldType = TypePrim
(PrimIntegral (PrimInt Signed)),
(PrimIntegral PrimInt Signed),
fieldSourceLoc =
"examples/anonymous.h:14:9"},
StructField {
Expand Down Expand Up @@ -151,7 +151,7 @@ WrapCHeader
fieldName = CName "d",
fieldOffset = 64,
fieldType = TypePrim
(PrimIntegral (PrimInt Signed)),
(PrimIntegral PrimInt Signed),
fieldSourceLoc =
"examples/anonymous.h:20:7"}],
structFlam = Nothing,
Expand Down
Loading

0 comments on commit dea0e1a

Please sign in to comment.