0
0
Fork 0
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:
Matt Mastracci 2023-07-11 08:07:29 -06:00 committed by GitHub
parent ed0aa000ef
commit 9d5c21ae7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,