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_top aot_fun_put_top interface~aot_fun_put->proc~aot_fun_put_top 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_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_double aot_fun_put_double interface~aot_fun_put->proc~aot_fun_put_double 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 interface~aot_table_from_1darray~2 aot_table_from_1Darray proc~aot_fun_put_single_v->interface~aot_table_from_1darray~2 proc~flu_pushvalue flu_pushvalue proc~aot_fun_put_single_v->proc~flu_pushvalue proc~flu_settop flu_settop proc~aot_fun_put_single_v->proc~flu_settop proc~aot_fun_put_single->proc~flu_pushvalue proc~aot_fun_put_single->proc~flu_settop interface~flu_pushnumber flu_pushnumber proc~aot_fun_put_single->interface~flu_pushnumber proc~aot_fun_put_double_v->interface~aot_table_from_1darray~2 proc~aot_fun_put_double_v->proc~flu_pushvalue proc~aot_fun_put_double_v->proc~flu_settop proc~aot_fun_put_double->proc~flu_pushvalue proc~aot_fun_put_double->proc~flu_settop proc~aot_fun_put_double->interface~flu_pushnumber proc~create_1darray_extdouble create_1Darray_extdouble interface~aot_table_from_1darray~2->proc~create_1darray_extdouble interface~lua_rotate lua_rotate proc~flu_insert->interface~lua_rotate interface~lua_pushvalue lua_pushvalue proc~flu_pushvalue->interface~lua_pushvalue interface~lua_gettop lua_gettop proc~flu_gettop->interface~lua_gettop interface~lua_settop lua_settop proc~flu_settop->interface~lua_settop proc~flu_pushreal flu_pushreal interface~flu_pushnumber->proc~flu_pushreal proc~flu_pushdouble flu_pushdouble interface~flu_pushnumber->proc~flu_pushdouble interface~lua_pushnumber lua_pushnumber proc~flu_pushreal->interface~lua_pushnumber proc~create_1darray_extdouble->proc~flu_gettop proc~create_1darray_extdouble->interface~flu_pushnumber proc~flu_settable flu_settable proc~create_1darray_extdouble->proc~flu_settable interface~flu_pushinteger flu_pushinteger proc~create_1darray_extdouble->interface~flu_pushinteger proc~flu_createtable flu_createtable proc~create_1darray_extdouble->proc~flu_createtable proc~flu_pushdouble->interface~lua_pushnumber interface~lua_settable lua_settable proc~flu_settable->interface~lua_settable 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_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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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.