Crate prebindgen_proc_macro

Crate prebindgen_proc_macro 

Source
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 definitions
  • prebindgen_out_dir!() - Macro that returns the prebindgen output directory path
  • features!() - 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.