mlua-sys 0.10.0

Low level (FFI) bindings to Lua 5.5/5.4/5.3/5.2/5.1 (including LuaJIT) and Luau
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Contains definitions from `luacodegen.h`.

use std::os::raw::c_int;

use super::lua::lua_State;

unsafe extern "C-unwind" {
    pub fn luau_codegen_supported() -> c_int;
    pub fn luau_codegen_create(state: *mut lua_State);
    pub fn luau_codegen_compile(state: *mut lua_State, idx: c_int);
}