Skip to content

Commit

Permalink
Add missing 256 bits types which are needed by Solang (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <[email protected]>
  • Loading branch information
seanyoung authored Oct 21, 2020
1 parent 09968bb commit bacf96e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ty/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ pub enum TypeDefPrimitive {
U64,
/// `u128`
U128,
/// 256 bits unsigned int (no rust equivalent)
U256,
/// `i8`
I8,
/// `i16`
Expand All @@ -190,6 +192,8 @@ pub enum TypeDefPrimitive {
I64,
/// `i128`
I128,
/// 256 bits signed int (no rust equivalent)
I256,
}

/// An array type.
Expand Down

0 comments on commit bacf96e

Please sign in to comment.