Add Lua and FFI tags to documentation

This commit is contained in:
2025-06-25 15:46:17 +10:00
parent a07f62ecc5
commit af3dbe60cb
2 changed files with 74 additions and 44 deletions

View File

@@ -24,7 +24,7 @@ pub fn transform(_args: Args, mut item: Item) -> Result<TokenStream> {
let mod_name = format_ident!("__{name}_cdef");
Ok(quote!(
Ok(quote_spanned!(name.span() =>
#[repr(C)]
#[allow(non_camel_case_types)]
#item