Skip to content

Commit

Permalink
feat: Add Uint8 type for fastcall (denoland#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Jul 11, 2023
1 parent ed0aa00 commit 9d5c21a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fast_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ pub enum CType {
pub enum Type {
Void,
Bool,
Uint8,
Int32,
Uint32,
Int64,
Expand All @@ -132,6 +133,7 @@ impl From<&Type> for CType {
match ty {
Type::Void => CType::Void,
Type::Bool => CType::Bool,
Type::Uint8 => CType::Uint8,
Type::Int32 => CType::Int32,
Type::Uint32 => CType::Uint32,
Type::Int64 => CType::Int64,
Expand Down

0 comments on commit 9d5c21a

Please sign in to comment.