Module 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.

Modules

Macros

Structs

Enums

Functions

  • va_arg 🔒
    Loads an argument of type T from the va_list ap and increment the argument ap points to.
  • va_copy 🔒
    Copies the current location of arglist src to the arglist dst.
  • va_end 🔒
    Destroy the arglist ap after initialization with va_start or va_copy.

Type Definitions