aot_reference_to_top Subroutine

public subroutine aot_reference_to_top(L, ref)

Put a given reference (ref) in the Lua script (L) to the top of the stack.


Type IntentOptional Attributes Name
type(flu_State) :: L

Handle to the Lua script

integer :: ref

Reference retrieved by aot_reference_for to put on the top of the stack


proc~~aot_reference_to_top~~CallsGraph proc~aot_reference_to_top aot_reference_to_top proc~flu_rawgeti flu_rawgeti proc~aot_reference_to_top->proc~flu_rawgeti interface~lua_rawgeti lua_rawgeti proc~flu_rawgeti->interface~lua_rawgeti

Called by

proc~~aot_reference_to_top~~CalledByGraph proc~aot_reference_to_top aot_reference_to_top proc~aot_fun_ref aot_fun_ref proc~aot_fun_ref->proc~aot_reference_to_top interface~aot_fun_open aot_fun_open interface~aot_fun_open->proc~aot_fun_ref 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

Source Code

  subroutine aot_reference_to_top(L, ref)
    type(flu_State) :: L !! Handle to the Lua script

    !> Reference retrieved by [[aot_reference_for]] to put on the top
    !! of the stack
    integer :: ref

    integer :: luatype

    luatype = flu_rawgeti(L, LUA_REGISTRYINDEX, ref)
  end subroutine aot_reference_to_top