Skip to main content

Mojo module

ffi

Implements a foreign functions interface (FFI).

Aliases

  • C_char = SIMD[int8, 1]: C char type.
  • DEFAULT_RTLD = __or__(2, 256 if eq(:string target_get_field(current_target(), "os"), "linux") else 8):

Structs

  • DLHandle: Represents a dynamically linked library that can be loaded and unloaded.
  • RTLD: Enumeration of the RTLD flags used during dynamic library loading.

Functions