Crate libninja_macro

Crate libninja_macro 

Source

Macros§

body
function
Define a function where the body is a string. The fn interface definition is reminiscent of Python, but because it creates a mir::Function, it will compile down into whatever language we target. The body has to be valid code for the target language though. We don’t have a MIR for the AST - nor would making one make sense (languages don’t have mutually compatible ASTs)
rfunction
like function, but for Rust