luaur_vm/functions/
initheader.rs1use crate::records::header::Header;
2use crate::records::lua_state::lua_State;
3
4#[inline]
5pub fn initheader(L: *mut lua_State, h: *mut Header) {
6 unsafe {
7 (*h).L = L;
8 (*h).islittle = 1; (*h).maxalign = 1;
10 }
11}