Skip to main content

luaur_code_gen/functions/
gather_functions.rs

1use alloc::vec::Vec;
2use luaur_vm::records::proto::Proto;
3
4use crate::functions::gather_functions_helper::gather_functions_helper;
5
6pub fn gather_functions(
7    results: &mut Vec<*mut Proto>,
8    root: *mut Proto,
9    flags: u32,
10    has_native_functions: bool,
11) {
12    gather_functions_helper(results, root, flags, has_native_functions, true);
13}