aot_fun_table Subroutine

private subroutine aot_fun_table(L, parent, fun, key, pos)

Get a function defined as component of a table.

Functions in tables might be retrieved by position or key. If both optional parameters are provided, the key is attempted to be read first. Only when that fails, the position will be tested.

Arguments

TypeIntentOptionalAttributesName
type(flu_state) :: L

Handle for the Lua script.

integer, intent(in), optional :: parent

Handle to the table to look in for the function.

type(aot_fun_type), intent(out) :: fun

Returned handle, providing access to the function.

character(len=*), intent(in), optional :: key

Name of the function to look up in the table.

integer, intent(in), optional :: pos

Position of the function to look up in the table.


Calls

proc~~aot_fun_table~~CallsGraph proc~aot_fun_table aot_fun_table proc~aot_table_push aot_table_push proc~aot_fun_table->proc~aot_table_push proc~aot_fun_top aot_fun_top proc~aot_fun_table->proc~aot_fun_top proc~flu_gettable flu_gettable proc~aot_table_push->proc~flu_gettable proc~flu_pushnil flu_pushnil proc~aot_table_push->proc~flu_pushnil proc~flu_getfield flu_getfield proc~aot_table_push->proc~flu_getfield proc~flu_type flu_type proc~aot_table_push->proc~flu_type proc~flu_pop flu_pop proc~aot_table_push->proc~flu_pop proc~flu_getglobal flu_getglobal proc~aot_table_push->proc~flu_getglobal interface~flu_pushinteger flu_pushinteger proc~aot_table_push->interface~flu_pushinteger flu_isfunction flu_isfunction proc~aot_fun_top->flu_isfunction proc~flu_gettop flu_gettop proc~aot_fun_top->proc~flu_gettop proc~flu_pushvalue flu_pushvalue proc~aot_fun_top->proc~flu_pushvalue proc~flu_topointer flu_topointer proc~aot_fun_top->proc~flu_topointer interface~lua_gettop lua_gettop proc~flu_gettop->interface~lua_gettop interface~lua_gettable lua_gettable proc~flu_gettable->interface~lua_gettable interface~lua_pushnil lua_pushnil proc~flu_pushnil->interface~lua_pushnil interface~lua_getfield lua_getfield proc~flu_getfield->interface~lua_getfield interface~lua_pushvalue lua_pushvalue proc~flu_pushvalue->interface~lua_pushvalue interface~lua_topointer lua_topointer proc~flu_topointer->interface~lua_topointer interface~lua_type lua_type proc~flu_type->interface~lua_type interface~lua_settop lua_settop proc~flu_pop->interface~lua_settop interface~lua_getglobal lua_getglobal proc~flu_getglobal->interface~lua_getglobal proc~flu_pushint flu_pushint interface~flu_pushinteger->proc~flu_pushint proc~flu_pushlong flu_pushlong interface~flu_pushinteger->proc~flu_pushlong interface~lua_pushinteger lua_pushinteger proc~flu_pushint->interface~lua_pushinteger proc~flu_pushlong->interface~lua_pushinteger

Called by

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

Contents

None