blob: ba12bb17bf287479df4a7f94601e08e0eb2d2ddd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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;
}
|