aot_table_set_val Interface

public interface aot_table_set_val

Set a value in a table.

The given value will be put at the entry named by key into the table provided in thandle. Alternatively you can also put the value by position into the table by providing the pos argument. If both, pos and key are provided, the key will be used. Though, both of them are optional, at least one of them has to be provided.

Calls

interface~~aot_table_set_val~2~~CallsGraph interface~aot_table_set_val~2 aot_table_set_val proc~set_table_quadruple set_table_quadruple interface~aot_table_set_val~2->proc~set_table_quadruple interface~flu_pushinteger flu_pushinteger proc~set_table_quadruple->interface~flu_pushinteger interface~flu_pushnumber flu_pushnumber proc~set_table_quadruple->interface~flu_pushnumber proc~flu_setfield flu_setfield proc~set_table_quadruple->proc~flu_setfield proc~flu_settable flu_settable proc~set_table_quadruple->proc~flu_settable proc~flu_pushint flu_pushint interface~flu_pushinteger->proc~flu_pushint proc~flu_pushlong flu_pushlong interface~flu_pushinteger->proc~flu_pushlong proc~flu_pushdouble flu_pushdouble interface~flu_pushnumber->proc~flu_pushdouble proc~flu_pushreal flu_pushreal interface~flu_pushnumber->proc~flu_pushreal interface~lua_setfield lua_setfield proc~flu_setfield->interface~lua_setfield interface~lua_settable lua_settable proc~flu_settable->interface~lua_settable interface~lua_pushnumber lua_pushnumber proc~flu_pushdouble->interface~lua_pushnumber interface~lua_pushinteger lua_pushinteger proc~flu_pushint->interface~lua_pushinteger proc~flu_pushlong->interface~lua_pushinteger proc~flu_pushreal->interface~lua_pushnumber

Module Procedures

private subroutine set_table_quadruple(val, L, thandle, key, pos)

Put a quadruple precision real value into a table.

Arguments

Type IntentOptional Attributes Name
real(kind=quad_k), intent(in) :: val

Value of the table entry if it exists.

type(flu_State) :: L
integer, intent(in) :: thandle

Handle to the table to look the value up in.

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

Name of the entry to look for.

Read more…
integer, intent(in), optional :: pos

Position of the entry to look for in the table.

Read more…