mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-21 15:04:33 -05:00
feat: Add Uint8 type for fastcall (#1279)
This commit is contained in:
parent
ed0aa000ef
commit
9d5c21ae7e
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,7 @@ pub enum CType {
|
|||
pub enum Type {
|
||||
Void,
|
||||
Bool,
|
||||
Uint8,
|
||||
Int32,
|
||||
Uint32,
|
||||
Int64,
|
||||
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue