Expand description
Lifetime-branded references to things manipulated by the LLVM bindings.
Re-exportsΒ§
use std::marker::PhantomData;πuse std::ptr;π
StructsΒ§
- Context π
- Corresponds to
LLVMContextRef. - Module π
- Corresponds to
LLVMModuleRef. - Type π
- Corresponds to
LLVMTypeRef. - Value π
- Corresponds to
LLVMValueRef.
FunctionsΒ§
- wrap_
llcx π β - Converts an unbranded pointer-to-context to a lifetime-branded
Context. - wrap_
llmod π β - Converts an unbranded pointer-to-module to a lifetime-branded
Module.
Type AliasesΒ§
- Phantom
Invariant πLifetime - FIXME(Zalathar): Use the stdlibβs
PhantomInvariantLifetimewhen its API is settled.
Foreign TypesΒ§
- Context
Raw π - Pointee of the raw pointer that is wrapped by a lifetime-branded
Context. - Module
Raw π - Pointee of the raw pointer that is wrapped by a lifetime-branded
Module. - TypeRaw π
- Pointee type of the raw pointer wrapped by
Type. - Value
Raw π - Pointee type of the raw pointer wrapped by
Value.