Expand description
The public, mlua-style ffi surface (mounted from ffi_public.rs).
The public, mlua-style raw C API surface (re-exported at luaur_rt::ffi).
Mirrors mlua::ffi. Only the commonly used subset of the luaur C API is
surfaced here, for callers that need to drop down to the stack-machine level
(e.g. inside Lua::exec_raw or
Lua::create_c_function). The full luaur C
API lives in the luaur-vm crate.
Everything here is unsafe to use and offers no safety guarantees beyond the
underlying VM — it is the same low-level interface the safe wrappers sit on
top of. luaur is a pure-Rust VM, so these are plain Rust fns, not a C ABI
boundary (see [lua_CFunction], which is a Rust unsafe fn, not an
extern "C-unwind" fn).
Functions§
- lua_
call ⚠ - lua_
error ⚠ - lua_
getfield ⚠ - lua_
getglobal ⚠ - lua_
pcall ⚠ - lua_
pushboolean ⚠ - lua_
pushinteger - lua_
pushnumber ⚠ - lua_
setfield ⚠ - lua_
setglobal ⚠ - lua_
tointegerx ⚠ - lua_
tonumberx ⚠ - lua_
type ⚠