#Custom macros

2 messages · Page 1 of 1 (latest)

spice lily
#

I write few DLLs in Rust and for each function I have to write #[no_mangle] pub extern "C" fn but I want to know if it's possible to create a macro or something like #[dll_function] to make #[dll_function] fn instead of #[no_mangle] pub extern "C" fn

sick chasm
#

in principle, yes