Exemplo n.º 1
0
Arquivo: lua.go Projeto: szll/golua
// lua_isstring
func (L *State) IsString(index int) bool { return C.lua_isstring(L.s, C.int(index)) == 1 }
Exemplo n.º 2
0
func Lua_isstring(L Lua_State, idx int) bool {
	return C.lua_isstring(Lua_CStatePtr(L), C.int(idx)) != 0
}