Module ffi

Source

Modules§

c_strExperimental
CStr and its related types.
va_listExperimental
C’s “variable arguments”

Structs§

CStr
Representation of a borrowed C string.
FromBytesUntilNulError
An error indicating that no nul byte was present.
VaListExperimental
A wrapper for a va_list
VaListImplExperimental
Basic implementation of a va_list.

Enums§

FromBytesWithNulError
An error indicating that a nul byte was not in the expected position.
c_void
Equivalent to C’s void type when used as a pointer.

Type Aliases§

c_char
Equivalent to C’s char type.
c_double
Equivalent to C’s double type.
c_float
Equivalent to C’s float type.
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_schar
Equivalent to C’s signed char type.
c_short
Equivalent to C’s signed short (short) type.
c_uchar
Equivalent to C’s unsigned char type.
c_uint
Equivalent to C’s unsigned int type.
c_ulong
Equivalent to C’s unsigned long type.
c_ulonglong
Equivalent to C’s unsigned long long type.
c_ushort
Equivalent to C’s unsigned short type.
c_ptrdiff_tExperimental
Equivalent to C’s ptrdiff_t type, from stddef.h (or cstddef for C++).
c_size_tExperimental
Equivalent to C’s size_t type, from stddef.h (or cstddef for C++).
c_ssize_tExperimental
Equivalent to C’s ssize_t (on POSIX) or SSIZE_T (on Windows) type.