luaur-compile-cli 0.1.3

Command-line Luau source-to-bytecode compiler (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[allow(unused_macros)]
macro_rules! WRITE_PAIR {
    ($fp:expr, $stats:expr, $indent:expr, $name:ident, $format:expr) => {
        libc::fprintf(
            $fp,
            concat!($indent, "\"", stringify!($name), "\": ", $format).as_ptr()
                as *const core::ffi::c_char,
            $stats.$name,
        )
    };
}

pub(crate) use WRITE_PAIR;