Update tests (fix LUA_GLOBALSINDEX)
This commit is contained in:
parent
19d97491ab
commit
4dee6278da
|
@ -35,7 +35,7 @@ extern "C" {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub unsafe fn lua_getglobal(state: *mut c_void, k: *const c_char) {
|
pub unsafe fn lua_getglobal(state: *mut c_void, k: *const c_char) {
|
||||||
lua_getfield(state, -10002 /* LUA_GLOBALSINDEX */, k);
|
lua_getfield(state, -102002 /* LUA_GLOBALSINDEX */, k);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue