mlua_sys/luau/luacodegen.rs
1//! Contains definitions from `luacodegen.h`.
2
3use std::os::raw::c_int;
4
5use super::lua::lua_State;
6
7unsafe extern "C-unwind" {
8 pub fn luau_codegen_supported() -> c_int;
9 pub fn luau_codegen_create(state: *mut lua_State);
10 pub fn luau_codegen_compile(state: *mut lua_State, idx: c_int);
11}