Skip to main content

Module branded

Module branded 

Source
Expand description

Lifetime-branded references to things manipulated by the LLVM bindings.

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Β§

PhantomInvariantLifetime πŸ”’
FIXME(Zalathar): Use the stdlib’s PhantomInvariantLifetime when its API is settled.