rtk-lua-macros 0.1.0

The macros for Rust Type Kit's Lua engine - query Rust types and produce FFI types
Documentation
1
2
3
4
5
6
7
8
use proc_macro::TokenStream;

/// Dummy proc macro that does nothing and relays the item it sits on top of back out. This is used
/// to specify marker overrides that are used when dogfooding the lua api
#[proc_macro_derive(RtkMeta, attributes(rtk_meta))]
pub fn rtk_meta(_attrs: TokenStream) -> TokenStream {
    TokenStream::new()
}