use super::interface::LuaInterface;
use super::prelude::*;
#[vtable]
pub struct LuaShared {
#[skip(2)] pub Shutdown: extern "C" fn(),
pub DumpStats: extern "C" fn(),
pub CreateLuaInterface: extern "C" fn(realm: c_uchar, b: bool) -> *mut LuaInterface,
pub CloseLuaInterface: extern "C" fn(iface: *mut LuaInterface),
pub GetLuaInterface: extern "C" fn(realm: c_uchar) -> *mut LuaInterface,
#[skip(2)] pub MountLua: extern "C" fn(l: *const c_char),
pub MountLuaAdd: extern "C" fn(l: *const c_char, l2: *const c_char),
pub UnMountLua: extern "C" fn(l: *const c_char),
pub SetFileContents: extern "C" fn(l: *const c_char, c: *const c_char),
pub SetLuaFindHook: extern "C" fn(p: *mut c_void),
#[skip(1)] pub GetStackTraces: extern "C" fn() -> *const c_char,
#[skip(1)] pub EmptyCache: extern "C" fn(),
}