luaur-analysis 0.1.0

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::type_aliases::print_line_proc_type_infer::PrintLineProc;

#[allow(non_upper_case_globals)]
pub(crate) static mut luauPrintLine: PrintLineProc = None;

#[allow(non_snake_case)]
pub fn setPrintLine(pl: PrintLineProc) {
    unsafe {
        luauPrintLine = pl;
    }
}