Expand description
Utilities related to FFI bindings.
Structs§
- CStr
 - Representation of a borrowed C string.
 - CString
 - A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
 - NulError
 - An error indicating that an interior nul byte was found.
 
Enums§
- From
Bytes With NulError  - An error indicating that a nul byte was not in the expected position.
 
Type Aliases§
- c_char
 - Equivalent to C’s 
chartype. - c_int
 - Equivalent to C’s 
signed int(int) type. - c_long
 - Equivalent to C’s 
signed long(long) type. - c_
longlong  - Equivalent to C’s 
signed long long(long long) type. - c_short
 - Equivalent to C’s 
signed short(short) type. - c_uint
 - Equivalent to C’s 
unsigned inttype. - c_ulong
 - Equivalent to C’s 
unsigned longtype. - c_
ulonglong  - Equivalent to C’s 
unsigned long longtype. - c_
ushort  - Equivalent to C’s 
unsigned shorttype. - c_void
 - Equivalent to C’s 
voidtype when used as a pointer.