luaur-repl-cli 0.1.3

Interactive Luau REPL (Rust).
Documentation
1
2
3
4
5
6
use crate::functions::counters_init::G_COUNTERS;

// Faithful port of `bool countersActive() { return gCounters.L != nullptr; }`.
pub fn counters_active() -> bool {
    unsafe { !(*core::ptr::addr_of!(G_COUNTERS)).l.is_null() }
}