flu_toBoolean Function

public function flu_toBoolean(L, index) result(bool)

Arguments

Type IntentOptional Attributes Name
type(flu_State) :: L
integer :: index

Return Value logical


Calls

proc~~flu_toboolean~~CallsGraph proc~flu_toboolean flu_toBoolean interface~lua_toboolean lua_toboolean proc~flu_toboolean->interface~lua_toboolean

Called by

proc~~flu_toboolean~~CalledByGraph proc~flu_toboolean flu_toBoolean proc~aot_top_get_logical aot_top_get_logical proc~aot_top_get_logical->proc~flu_toboolean interface~aot_top_get_val aot_top_get_val interface~aot_top_get_val->proc~aot_top_get_logical

Source Code

  function flu_toBoolean(L, index) result(bool)
    type(flu_State) :: L
    integer :: index
    logical :: bool

    integer(kind=c_int) :: c_index

    c_index = index
    bool = (lua_toBoolean(L%state, c_index) == 1)
  end function flu_toBoolean