-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
83 additions
and
15 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
instance Foreign.Storable.Storable primitive | ||
where {Foreign.Storable.sizeOf = \_ -> 176; | ||
Foreign.Storable.alignment = \_ -> 16; | ||
Foreign.Storable.peek = \x_0 -> ((((GHC.Base.pure Mkprimitive GHC.Base.<*> Foreign.Storable.peekByteOff x_0 0) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 128) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 160) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 192) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 1088; | ||
Foreign.Storable.poke = \x_1 -> \x_2 -> case x_2 of | ||
{Mkprimitive c_3 | ||
i_4 | ||
s2_5 | ||
si2_6 | ||
f_7 -> (((Foreign.Storable.pokeByteOff x_1 0 c_3 GHC.Base.>> Foreign.Storable.pokeByteOff x_1 128 i_4) GHC.Base.>> Foreign.Storable.pokeByteOff x_1 160 s2_5) GHC.Base.>> Foreign.Storable.pokeByteOff x_1 192 si2_6) GHC.Base.>> Foreign.Storable.pokeByteOff x_1 1088 f_7}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
instance Foreign.Storable.Storable S1 | ||
where {Foreign.Storable.sizeOf = \_ -> 8; | ||
Foreign.Storable.alignment = \_ -> 4; | ||
Foreign.Storable.peek = \x_0 -> (GHC.Base.pure MkS1 GHC.Base.<*> Foreign.Storable.peekByteOff x_0 0) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 32; | ||
Foreign.Storable.poke = \x_1 -> \x_2 -> case x_2 of | ||
{MkS1 a_3 | ||
b_4 -> Foreign.Storable.pokeByteOff x_1 0 a_3 GHC.Base.>> Foreign.Storable.pokeByteOff x_1 32 b_4}} | ||
instance Foreign.Storable.Storable S2 | ||
where {Foreign.Storable.sizeOf = \_ -> 12; | ||
Foreign.Storable.alignment = \_ -> 4; | ||
Foreign.Storable.peek = \x_0 -> ((GHC.Base.pure MkS2 GHC.Base.<*> Foreign.Storable.peekByteOff x_0 0) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 32) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 64; | ||
Foreign.Storable.poke = \x_1 -> \x_2 -> case x_2 of | ||
{MkS2 a_3 | ||
b_4 | ||
c_5 -> (Foreign.Storable.pokeByteOff x_1 0 a_3 GHC.Base.>> Foreign.Storable.pokeByteOff x_1 32 b_4) GHC.Base.>> Foreign.Storable.pokeByteOff x_1 64 c_5}} | ||
instance Foreign.Storable.Storable X | ||
where {Foreign.Storable.sizeOf = \_ -> 1; | ||
Foreign.Storable.alignment = \_ -> 1; | ||
Foreign.Storable.peek = \x_0 -> GHC.Base.pure MkX GHC.Base.<*> Foreign.Storable.peekByteOff x_0 0; | ||
Foreign.Storable.poke = \x_1 -> \x_2 -> case x_2 of | ||
{MkX a_3 -> Foreign.Storable.pokeByteOff x_1 0 a_3}} | ||
instance Foreign.Storable.Storable S4 | ||
where {Foreign.Storable.sizeOf = \_ -> 8; | ||
Foreign.Storable.alignment = \_ -> 4; | ||
Foreign.Storable.peek = \x_0 -> (GHC.Base.pure MkS4 GHC.Base.<*> Foreign.Storable.peekByteOff x_0 0) GHC.Base.<*> Foreign.Storable.peekByteOff x_0 32; | ||
Foreign.Storable.poke = \x_1 -> \x_2 -> case x_2 of | ||
{MkS4 b_3 | ||
a_4 -> Foreign.Storable.pokeByteOff x_1 0 b_3 GHC.Base.>> Foreign.Storable.pokeByteOff x_1 32 a_4}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters