devela/lang/c/
reexports.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// devela::lang::c::reexports
//
//! Reexported items from `core`.
//

use crate::reexport;

reexport! { rust: core::ffi,
    tag: crate::TAG_PRIMITIVE!(),
    doc: "Equivalent to the corresponding C type.",
    c_char, c_double, c_float, c_int, c_long, c_longlong, c_schar, c_short,
    c_uchar, c_uint, c_ulong, c_ulonglong, c_ushort, c_void
}

reexport! { rust: core::ffi,
    doc: "Representation of a borrowed C string (See [`CString`]).",
    CStr
}

reexport! { rust: alloc::ffi,
    doc: "An owned, C-compatible, nul-terminated string with no nul bytes in the middle.",
    CString
}