summaryrefslogtreecommitdiff
path: root/vendor/windows-strings/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-strings/src/lib.rs')
-rw-r--r--vendor/windows-strings/src/lib.rs47
1 files changed, 47 insertions, 0 deletions
diff --git a/vendor/windows-strings/src/lib.rs b/vendor/windows-strings/src/lib.rs
new file mode 100644
index 00000000..ba12bb17
--- /dev/null
+++ b/vendor/windows-strings/src/lib.rs
@@ -0,0 +1,47 @@
+#![doc = include_str!("../readme.md")]
+#![cfg(windows)]
+#![allow(non_snake_case)]
+#![debugger_visualizer(natvis_file = "../windows-strings.natvis")]
+#![cfg_attr(all(not(feature = "std")), no_std)]
+
+extern crate alloc;
+use alloc::string::String;
+
+mod bstr;
+pub use bstr::*;
+
+mod hstring;
+pub use hstring::*;
+
+mod hstring_builder;
+pub use hstring_builder::*;
+
+mod hstring_header;
+use hstring_header::*;
+
+mod bindings;
+
+mod decode;
+use decode::*;
+
+mod ref_count;
+use ref_count::*;
+
+mod literals;
+pub use literals::*;
+
+mod pcstr;
+pub use pcstr::*;
+
+mod pcwstr;
+pub use pcwstr::*;
+
+mod pstr;
+pub use pstr::*;
+
+mod pwstr;
+pub use pwstr::*;
+
+extern "C" {
+ fn strlen(s: PCSTR) -> usize;
+}