示例#1
0
文件: lauxlib.go 项目: 1lann/golua
// luaL_checktype
func (L *State) CheckType(narg int, t LuaValType) {
	C.luaL_checktype(L.s, C.int(narg), C.int(t))
}
示例#2
0
func CheckType(L *State, narg int, t int) {
	C.luaL_checktype(L.s, C.int(narg), C.int(t))
}