aot_fun_put Interface

public interface aot_fun_put

Put an argument into the lua function.

Arguments have to be in order, first put the first argument then the second and so on. Currently only real number arguments are supported.

Calls

interface~~aot_fun_put~~CallsGraph interface~aot_fun_put aot_fun_put proc~aot_fun_put_double aot_fun_put_double interface~aot_fun_put->proc~aot_fun_put_double proc~aot_fun_put_single aot_fun_put_single interface~aot_fun_put->proc~aot_fun_put_single proc~aot_fun_put_double_v aot_fun_put_double_v interface~aot_fun_put->proc~aot_fun_put_double_v proc~aot_fun_put_single_v aot_fun_put_single_v interface~aot_fun_put->proc~aot_fun_put_single_v proc~aot_fun_put_top aot_fun_put_top interface~aot_fun_put->proc~aot_fun_put_top interface~flu_pushnumber flu_pushnumber proc~aot_fun_put_double->interface~flu_pushnumber proc~flu_settop flu_settop proc~aot_fun_put_double->proc~flu_settop proc~flu_pushvalue flu_pushvalue proc~aot_fun_put_double->proc~flu_pushvalue proc~aot_fun_put_single->interface~flu_pushnumber proc~aot_fun_put_single->proc~flu_settop proc~aot_fun_put_single->proc~flu_pushvalue interface~aot_table_from_1darray aot_table_from_1Darray proc~aot_fun_put_double_v->interface~aot_table_from_1darray proc~aot_fun_put_double_v->proc~flu_settop proc~aot_fun_put_double_v->proc~flu_pushvalue proc~aot_fun_put_single_v->interface~aot_table_from_1darray proc~aot_fun_put_single_v->proc~flu_settop proc~aot_fun_put_single_v->proc~flu_pushvalue proc~flu_insert flu_insert proc~aot_fun_put_top->proc~flu_insert proc~flu_gettop flu_gettop proc~aot_fun_put_top->proc~flu_gettop proc~flu_pushdouble flu_pushdouble interface~flu_pushnumber->proc~flu_pushdouble proc~flu_pushreal flu_pushreal interface~flu_pushnumber->proc~flu_pushreal proc~create_1darray_double create_1Darray_double interface~aot_table_from_1darray->proc~create_1darray_double proc~create_1darray_real create_1Darray_real interface~aot_table_from_1darray->proc~create_1darray_real interface~lua_settop lua_settop proc~flu_settop->interface~lua_settop interface~lua_rotate lua_rotate proc~flu_insert->interface~lua_rotate interface~lua_gettop lua_gettop proc~flu_gettop->interface~lua_gettop interface~lua_pushvalue lua_pushvalue proc~flu_pushvalue->interface~lua_pushvalue proc~create_1darray_double->interface~flu_pushnumber proc~create_1darray_double->proc~flu_gettop interface~flu_pushinteger flu_pushinteger proc~create_1darray_double->interface~flu_pushinteger proc~flu_createtable flu_createtable proc~create_1darray_double->proc~flu_createtable proc~flu_settable flu_settable proc~create_1darray_double->proc~flu_settable interface~lua_pushnumber lua_pushnumber proc~flu_pushdouble->interface~lua_pushnumber proc~create_1darray_real->interface~flu_pushnumber proc~create_1darray_real->proc~flu_gettop proc~create_1darray_real->interface~flu_pushinteger proc~create_1darray_real->proc~flu_createtable proc~create_1darray_real->proc~flu_settable proc~flu_pushreal->interface~lua_pushnumber proc~flu_pushint flu_pushint interface~flu_pushinteger->proc~flu_pushint proc~flu_pushlong flu_pushlong interface~flu_pushinteger->proc~flu_pushlong interface~lua_createtable lua_createtable proc~flu_createtable->interface~lua_createtable interface~lua_settable lua_settable proc~flu_settable->interface~lua_settable interface~lua_pushinteger lua_pushinteger proc~flu_pushint->interface~lua_pushinteger proc~flu_pushlong->interface~lua_pushinteger

Contents


Module Procedures

private subroutine aot_fun_put_top(L, fun)

Put the top of the stack as argument into the list of arguments for the function.

Arguments

TypeIntentOptionalAttributesName
type(flu_state) :: L

Handle for the Lua script.

type(aot_fun_type) :: fun

Handle of the function, this argument should be put into.

private subroutine aot_fun_put_double(L, fun, arg)

Put an argument of type double into the list of arguments for the function.

Arguments

TypeIntentOptionalAttributesName
type(flu_state) :: L

Handle for the Lua script.

type(aot_fun_type) :: fun

Handle of the function, this argument should be put into.

real(kind=double_k), intent(in) :: arg

Actual argument to hand over to the Lua function.

private subroutine aot_fun_put_single(L, fun, arg)

Put an argument of type single into the list of arguments for the function.

Arguments

TypeIntentOptionalAttributesName
type(flu_state) :: L

Handle for the Lua script.

type(aot_fun_type) :: fun

Handle of the function, this argument should be put into.

real(kind=single_k), intent(in) :: arg

Actual argument to hand over to the Lua function.

private subroutine aot_fun_put_double_v(L, fun, arg)

Put an array of doubles into the list of arguments for the function.

Arguments

TypeIntentOptionalAttributesName
type(flu_state) :: L

Handle for the Lua script.

type(aot_fun_type) :: fun

Handle of the function, this argument should be put into.

real(kind=double_k), intent(in) :: arg(:)

Actual argument to hand over to the Lua function.

private subroutine aot_fun_put_single_v(L, fun, arg)

Put an array of singles into the list of arguments for the function.

Arguments

TypeIntentOptionalAttributesName
type(flu_state) :: L

Handle for the Lua script.

type(aot_fun_type) :: fun

Handle of the function, this argument should be put into.

real(kind=single_k), intent(in) :: arg(:)

Actual argument to hand over to the Lua function.