Expand description
§prebindgen-proc-macro
Procedural macros for the prebindgen system.
This crate provides the procedural macros used by the prebindgen system:
#[prebindgen]
or#[prebindgen("group")]
- Attribute macro for marking FFI definitionsprebindgen_out_dir!()
- Macro that returns the prebindgen output directory pathfeatures!()
- Macro that returns the list of features enabled for the crate
See also: prebindgen
for the main processing library.
Macros§
- features
- Proc macro that returns the enabled features, joined by commas, as a string literal.
- prebindgen_
out_ dir - Proc macro that returns the prebindgen output directory path as a string literal.
Attribute Macros§
- prebindgen
- Attribute macro that exports FFI definitions for use in language-specific binding crates.