devela/lang/c/
reexports.rs
1use crate::reexport;
7
8reexport! { rust: core::ffi,
9 tag: crate::TAG_PRIMITIVE!(),
10 doc: "Equivalent to the corresponding C type.",
11 c_char, c_double, c_float, c_int, c_long, c_longlong, c_schar, c_short,
12 c_uchar, c_uint, c_ulong, c_ulonglong, c_ushort, c_void
13}
14
15reexport! { rust: core::ffi,
16 doc: "Representation of a borrowed C string (See [`CString`]).",
17 CStr
18}
19
20reexport! { rust: alloc::ffi,
21 doc: "An owned, C-compatible, nul-terminated string with no nul bytes in the middle.",
22 CString
23}