Only defined as a Macro, using lua_type:
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(flu_State) | :: | L | ||||
integer | :: | index |
function flu_isBoolean(L, index) result(is_boolean) type(flu_State) :: L integer :: index logical :: is_boolean integer(kind=c_int) :: c_index c_index = int(index, kind = c_int) !! Only defined as a Macro, using lua_type: is_boolean = (lua_type(L%state, c_index) == LUA_TBOOLEAN) end function flu_isBoolean