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

Macros§

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.