luaur-code-gen 0.1.3

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use alloc::vec::Vec;
use luaur_vm::records::proto::Proto;

use crate::functions::gather_functions_helper::gather_functions_helper;

pub fn gather_functions(
    results: &mut Vec<*mut Proto>,
    root: *mut Proto,
    flags: u32,
    has_native_functions: bool,
) {
    gather_functions_helper(results, root, flags, has_native_functions, true);
}