aot_table_from_1Darray Interface

public interface aot_table_from_1Darray

This interface enables the simple creation of uniform one dimensional arrays as tables in the Lua context.

It takes an one dimensional array of values and returns a thandle to identify the newly generated table.

Calls

interface~~aot_table_from_1darray~2~~CallsGraph interface~aot_table_from_1darray~2 aot_table_from_1Darray proc~create_1darray_extdouble create_1Darray_extdouble interface~aot_table_from_1darray~2->proc~create_1darray_extdouble proc~flu_gettop flu_gettop proc~create_1darray_extdouble->proc~flu_gettop proc~flu_createtable flu_createtable proc~create_1darray_extdouble->proc~flu_createtable interface~flu_pushinteger flu_pushinteger proc~create_1darray_extdouble->interface~flu_pushinteger proc~flu_settable flu_settable proc~create_1darray_extdouble->proc~flu_settable interface~flu_pushnumber flu_pushnumber proc~create_1darray_extdouble->interface~flu_pushnumber interface~lua_gettop lua_gettop proc~flu_gettop->interface~lua_gettop interface~lua_createtable lua_createtable proc~flu_createtable->interface~lua_createtable proc~flu_pushint flu_pushint interface~flu_pushinteger->proc~flu_pushint proc~flu_pushlong flu_pushlong interface~flu_pushinteger->proc~flu_pushlong interface~lua_settable lua_settable proc~flu_settable->interface~lua_settable proc~flu_pushdouble flu_pushdouble interface~flu_pushnumber->proc~flu_pushdouble proc~flu_pushreal flu_pushreal interface~flu_pushnumber->proc~flu_pushreal interface~lua_pushnumber lua_pushnumber proc~flu_pushdouble->interface~lua_pushnumber interface~lua_pushinteger lua_pushinteger proc~flu_pushint->interface~lua_pushinteger proc~flu_pushreal->interface~lua_pushnumber proc~flu_pushlong->interface~lua_pushinteger

Contents


Module Procedures

private subroutine create_1Darray_extdouble(L, thandle, val)

This subroutine takes a one dimensional array, and puts it as a table into the Lua context.

Read more…

Arguments

Type IntentOptional AttributesName
type(flu_State) :: L
integer, intent(out) :: thandle

Handle to access the newly created table.

real(kind=xdble_k), intent(in) :: val(:)

Values to put into the new table.