fluL_ref Function

public function fluL_ref(L, t) result(ref)

Arguments

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

Return Value integer


Calls

proc~~flul_ref~~CallsGraph proc~flul_ref fluL_ref interface~lual_ref luaL_ref proc~flul_ref->interface~lual_ref

Called by

proc~~flul_ref~~CalledByGraph proc~flul_ref fluL_ref proc~aot_reference_for aot_reference_for proc~aot_reference_for->proc~flul_ref

Source Code

  function fluL_ref(L, t) result(ref)
    type(flu_State) :: L
    integer :: t
    integer :: ref

    integer(kind=c_int) :: c_t
    integer(kind=c_int) :: c_ref

    c_t = int(t, kind=c_int)
    c_ref = luaL_ref(L%state, c_t)
    ref = int(c_ref)
  end function fluL_ref