set_table_userdata Subroutine

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

Uses

  • proc~~set_table_userdata~~UsesGraph proc~set_table_userdata set_table_userdata iso_c_binding iso_c_binding proc~set_table_userdata->iso_c_binding

Put user-data pointer into a table.

Arguments

TypeIntentOptionalAttributesName
type(c_ptr), intent(in) :: val

Pointer to set in the table.

type(flu_State) :: L

Handle to the Lua script.

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 set.

Key and pos are both optional, however at least one of them has to be supplied. The key takes precedence over the pos if both are given.

integer, intent(in), optional :: pos

Position of the entry to set in the table.

It allows the access to unnamed arrays in the Lua tables.


Calls

proc~~set_table_userdata~~CallsGraph proc~set_table_userdata set_table_userdata proc~flu_settable flu_settable proc~set_table_userdata->proc~flu_settable proc~flu_setfield flu_setfield proc~set_table_userdata->proc~flu_setfield interface~flu_pushinteger flu_pushinteger proc~set_table_userdata->interface~flu_pushinteger proc~flu_pushlightuserdata flu_pushlightuserdata proc~set_table_userdata->proc~flu_pushlightuserdata interface~lua_settable lua_settable proc~flu_settable->interface~lua_settable interface~lua_setfield lua_setfield proc~flu_setfield->interface~lua_setfield proc~flu_pushint flu_pushint interface~flu_pushinteger->proc~flu_pushint proc~flu_pushlong flu_pushlong interface~flu_pushinteger->proc~flu_pushlong interface~lua_pushlightuserdata lua_pushlightuserdata proc~flu_pushlightuserdata->interface~lua_pushlightuserdata interface~lua_pushinteger lua_pushinteger proc~flu_pushint->interface~lua_pushinteger proc~flu_pushlong->interface~lua_pushinteger

Called by

proc~~set_table_userdata~~CalledByGraph proc~set_table_userdata set_table_userdata interface~aot_table_set_val aot_table_set_val interface~aot_table_set_val->proc~set_table_userdata

Contents

None