flu_topointer Function

public function flu_topointer(L, index) result(intptr)

Arguments

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

Return Value integer(kind=long_k)


Calls

proc~~flu_topointer~~CallsGraph proc~flu_topointer flu_topointer interface~lua_topointer lua_topointer proc~flu_topointer->interface~lua_topointer

Called by

proc~~flu_topointer~~CalledByGraph proc~flu_topointer flu_topointer proc~aot_fun_top aot_fun_top proc~aot_fun_top->proc~flu_topointer 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_topointer(L, index) result(intptr)
    type(flu_State) :: L
    integer :: index
    integer(kind=long_k) :: intptr

    integer(kind=c_intptr_t) :: ptr
    integer(kind=c_int) :: c_index

    c_index = index
    ptr = lua_topointer(L%state, c_index)
    intptr = int(ptr, kind=long_k)
  end function flu_topointer