luaur_vm/enums/
lua_co_status.rs1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3#[repr(i32)]
4pub enum lua_CoStatus {
5 LUA_CORUN = 0,
6 LUA_COSUS = 1,
7 LUA_CONOR = 2,
8 LUA_COFIN = 3,
9 LUA_COERR = 4,
10}
11
12#[allow(non_upper_case_globals)]
13impl lua_CoStatus {
14 pub const LUA_CORUN: Self = Self::LUA_CORUN;
15 pub const LUA_COSUS: Self = Self::LUA_COSUS;
16 pub const LUA_CONOR: Self = Self::LUA_CONOR;
17 pub const LUA_COFIN: Self = Self::LUA_COFIN;
18 pub const LUA_COERR: Self = Self::LUA_COERR;
19}
20
21#[allow(non_camel_case_types)]
22pub type LuaCoStatus = lua_CoStatus;