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_quadruple create_1Darray_quadruple interface~aot_table_from_1darray~2->proc~create_1darray_quadruple interface~flu_pushnumber flu_pushnumber proc~create_1darray_quadruple->interface~flu_pushnumber proc~flu_createtable flu_createtable proc~create_1darray_quadruple->proc~flu_createtable proc~flu_settable flu_settable proc~create_1darray_quadruple->proc~flu_settable proc~flu_gettop flu_gettop proc~create_1darray_quadruple->proc~flu_gettop interface~flu_pushinteger flu_pushinteger proc~create_1darray_quadruple->interface~flu_pushinteger proc~flu_pushdouble flu_pushdouble interface~flu_pushnumber->proc~flu_pushdouble proc~flu_pushreal flu_pushreal interface~flu_pushnumber->proc~flu_pushreal interface~lua_createtable lua_createtable proc~flu_createtable->interface~lua_createtable interface~lua_settable lua_settable proc~flu_settable->interface~lua_settable interface~lua_gettop lua_gettop proc~flu_gettop->interface~lua_gettop 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 interface~lua_pushnumber lua_pushnumber proc~flu_pushdouble->interface~lua_pushnumber proc~flu_pushreal->interface~lua_pushnumber

Contents


Module Procedures

private subroutine create_1Darray_quadruple(L, thandle, val)

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

Read more…

Arguments

TypeIntentOptionalAttributesName
type(flu_State) :: L
integer, intent(out) :: thandle

Handle to access the newly created table.

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

Values to put into the new table.