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
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(unused_imports)]
use crate::*;
pub use crate::cppmmabi::*;
use std::os::raw::*;
impl std__string_t {
pub fn layout() -> std::alloc::Layout {
unsafe {
std::alloc::Layout::from_size_align(
std__string_sizeof(),
std__string_alignof(),
).unwrap()
}
}
}
extern "C" {
pub fn std__string_sizeof() -> usize;
pub fn std__string_alignof() -> usize;
pub fn std__string_ctor(this_: *mut std_string_t, s: *const c_char, count: usize) -> Exception;
pub fn std__string_assign(this_: *mut std_string_t, return_: *mut *mut std_string_t, s: *const c_char, count: usize) -> Exception;
pub fn std__string_c_str(this_: *const std_string_t, return_: *mut *const c_char) -> Exception;
}