Crate inkwell_internals[][src]

These macros are only intended to be used by inkwell internally and should not be expected to have public support nor stability. Here be dragons 🐉

Attribute Macros

llvm_enum

This attribute macro allows you to decorate an enum declaration which represents an LLVM enum with versioning constraints and/or custom variant names. There are a few expectations around the LLVM and Rust enums:

llvm_versioned_item

This attribute is used to decorate enums, structs, or unions which may contain variants/fields which make use of #[llvm_versions(..)]

llvm_versions

This macro can be used to specify version constraints for an enum/struct/union or other item which can be decorated with an attribute.