flu_isFunction Function

public function flu_isFunction(L, index) result(is_function)

Arguments

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

Return Value logical


Calls

proc~~flu_isfunction~~CallsGraph proc~flu_isfunction flu_isFunction interface~lua_type lua_type proc~flu_isfunction->interface~lua_type

Called by

proc~~flu_isfunction~~CalledByGraph proc~flu_isfunction flu_isFunction proc~aot_fun_top aot_fun_top proc~aot_fun_top->proc~flu_isfunction proc~aot_fun_ref aot_fun_ref proc~aot_fun_ref->proc~aot_fun_top proc~aot_fun_table aot_fun_table proc~aot_fun_table->proc~aot_fun_top interface~aot_fun_open aot_fun_open interface~aot_fun_open->proc~aot_fun_ref interface~aot_fun_open->proc~aot_fun_table proc~aot_path_open_fun aot_path_open_fun proc~aot_path_open_fun->interface~aot_fun_open interface~aot_path_open aot_path_open interface~aot_path_open->proc~aot_path_open_fun

Source Code

  function flu_isFunction(L, index) result(is_function)
    type(flu_State) :: L
    integer         :: index
    logical         :: is_function

    integer(kind=c_int) :: c_index

    c_index = int(index, kind = c_int)
    is_function = (lua_type(L%state, c_index) == LUA_TFUNCTION)
  end function flu_isFunction