windows_strings/
lib.rs

1#![doc = include_str!("../readme.md")]
2#![cfg(windows)]
3#![allow(non_snake_case)]
4#![debugger_visualizer(natvis_file = "../windows-strings.natvis")]
5#![cfg_attr(all(not(feature = "std")), no_std)]
6
7extern crate alloc;
8use alloc::string::String;
9
10mod bstr;
11pub use bstr::*;
12
13mod hstring;
14pub use hstring::*;
15
16mod hstring_builder;
17pub use hstring_builder::*;
18
19mod hstring_header;
20use hstring_header::*;
21
22mod bindings;
23
24mod decode;
25use decode::*;
26
27mod ref_count;
28use ref_count::*;
29
30mod literals;
31pub use literals::*;
32
33mod pcstr;
34pub use pcstr::*;
35
36mod pcwstr;
37pub use pcwstr::*;
38
39mod pstr;
40pub use pstr::*;
41
42mod pwstr;
43pub use pwstr::*;
44
45extern "C" {
46    fn strlen(s: PCSTR) -> usize;
47}