Module wasmtime_environ::__core::ffi
1.30.0 · source · [−]Expand description
Platform-specific types, as defined by C.
Code that interacts via FFI will almost certainly be using the base types provided by C, which aren’t nearly as nicely defined as Rust’s primitive types. This module provides types which will match those defined by C, so that code that interacts with C will refer to the correct types.
Structs
A wrapper for a va_list
x86_64 ABI implementation of a va_list
.
Enums
Type Definitions
Type alias for NonZero
version of c_char
Type alias for NonZero
version of c_int
Type alias for NonZero
version of c_long
Type alias for NonZero
version of c_longlong
Type alias for NonZero
version of c_schar
Type alias for NonZero
version of c_short
Type alias for NonZero
version of c_uchar
Type alias for NonZero
version of c_uint
Type alias for NonZero
version of c_ulong
Type alias for NonZero
version of c_ulonglong
Type alias for NonZero
version of c_ushort
Equivalent to C’s char
type.
Equivalent to C’s double
type.
Equivalent to C’s float
type.
Equivalent to C’s signed int
(int
) type.
Equivalent to C’s signed long
(long
) type.
Equivalent to C’s signed long long
(long long
) type.
Equivalent to C’s ptrdiff_t
type, from stddef.h
(or cstddef
for C++).
Equivalent to C’s signed char
type.
Equivalent to C’s signed short
(short
) type.
Equivalent to C’s size_t
type, from stddef.h
(or cstddef
for C++).
Equivalent to C’s ssize_t
(on POSIX) or SSIZE_T
(on Windows) type.
Equivalent to C’s unsigned char
type.
Equivalent to C’s unsigned int
type.
Equivalent to C’s unsigned long
type.
Equivalent to C’s unsigned long long
type.
Equivalent to C’s unsigned short
type.