Mojo module
ffi
Implements a foreign functions interface (FFI).
Aliases
-
C_char = SIMD[int8, 1]
: Cchar
type. -
C_int = SIMD[int32, 1]
: Cint
type. -
C_long = SIMD[_c_long_dtype(), 1]
: Clong
type. -
C_long_long = SIMD[_c_long_long_dtype(), 1]
: Clong long
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
-
external_call
: Calls an external function.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
😔 What went wrong?