flu_isBoolean Function

public function flu_isBoolean(L, index) result(is_boolean)

Only defined as a Macro, using lua_type:

Arguments

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

Return Value logical


Calls

proc~~flu_isboolean~~CallsGraph proc~flu_isboolean flu_isBoolean interface~lua_type lua_type proc~flu_isboolean->interface~lua_type

Called by

proc~~flu_isboolean~~CalledByGraph proc~flu_isboolean flu_isBoolean proc~aot_top_get_logical aot_top_get_logical proc~aot_top_get_logical->proc~flu_isboolean proc~get_top_logical_vvect get_top_logical_vvect proc~get_top_logical_vvect->proc~flu_isboolean interface~aot_top_get_val aot_top_get_val interface~aot_top_get_val->proc~aot_top_get_logical interface~aot_top_get_val~4 aot_top_get_val interface~aot_top_get_val~4->proc~get_top_logical_vvect

Source Code

  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