diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Data/Json/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Data/Json/mod.rs | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Data/Json/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Data/Json/mod.rs deleted file mode 100644 index ee9d47837..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Data/Json/mod.rs +++ /dev/null @@ -1,38 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type IJsonValue = *mut ::core::ffi::c_void; -pub type JsonArray = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct JsonErrorStatus(pub i32); -impl JsonErrorStatus { - pub const Unknown: Self = Self(0i32); - pub const InvalidJsonString: Self = Self(1i32); - pub const InvalidJsonNumber: Self = Self(2i32); - pub const JsonValueNotFound: Self = Self(3i32); - pub const ImplementationLimit: Self = Self(4i32); -} -impl ::core::marker::Copy for JsonErrorStatus {} -impl ::core::clone::Clone for JsonErrorStatus { - fn clone(&self) -> Self { - *self - } -} -pub type JsonObject = *mut ::core::ffi::c_void; -pub type JsonValue = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct JsonValueType(pub i32); -impl JsonValueType { - pub const Null: Self = Self(0i32); - pub const Boolean: Self = Self(1i32); - pub const Number: Self = Self(2i32); - pub const String: Self = Self(3i32); - pub const Array: Self = Self(4i32); - pub const Object: Self = Self(5i32); -} -impl ::core::marker::Copy for JsonValueType {} -impl ::core::clone::Clone for JsonValueType { - fn clone(&self) -> Self { - *self - } -} |