mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
12 lines
292 B
Rust
12 lines
292 B
Rust
//! Contains definitions from `luacodegen.h`.
|
|
|
|
use std::os::raw::c_int;
|
|
|
|
use super::lua::lua_State;
|
|
|
|
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);
|
|
}
|