AOTUS: Lua scripting for Fortran#
AOTUS provides a Fortran wrapper around the C-API of the Lua scripting language, allowing Lua scripts to be used as configuration files in Fortran applications.
All 27 modules from AOTUS v1.0.4 are auto-documented below via the FORD bridge.
- module aot_err_module#
Uses:
flu_binding- parameter aoterr_Fatal = 0#
Type: integer
- parameter aoterr_NonExistent = 1#
Type: integer
- parameter aoterr_WrongType = 2#
Type: integer
- module aot_extdouble_fun_module#
Uses:
flu_binding,flu_kinds_module,aot_extdouble_top_module,aot_fun_declaration_module,aot_table_module- interface aot_fun_put#
- subroutine aot_fun_put_extdouble(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
xdble_k), intent(in) :: arg
- subroutine aot_fun_put_extdouble_v(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
xdble_k), intent(in) :: arg
- module aot_extdouble_out_module#
Uses:
aot_out_general_module,aot_extdouble_top_module- interface aot_out_val#
- subroutine aot_out_val_extdouble(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
xdble_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_arr_extdouble(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
xdble_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- module aot_extdouble_table_module#
Uses:
flu_binding,flu_kinds_module,aot_err_module,aot_extdouble_top_module,aot_top_module,aot_table_ops_module- interface aot_table_get_val#
- subroutine get_table_extdouble(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- interface aot_table_set_val#
- interface aot_get_val#
- module aot_extdouble_top_module#
Uses:
flu_binding,aot_err_module- parameter xdble_k = selected_real_kind(18)#
Type: integer
- module aot_extdouble_vector_module#
Uses:
flu_binding,aot_extdouble_top_module,aot_table_ops_module,aot_top_module- interface aot_get_val#
- subroutine get_table_extdouble_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
real (
xdble_k), intent(out), allocatable :: valinteger, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
real (
xdble_k), intent(in), optional :: default
- subroutine get_table_extdouble_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- interface aot_table_get_val#
- module aot_fun_declaration_module#
Uses:
flu_kinds_module
- module aot_fun_module#
Uses:
flu_binding,flu_kinds_module,aot_fun_declaration_module,aot_table_module,aot_top_module,aot_references_module,aot_quadruple_fun_module,aot_extdouble_fun_module- interface aot_fun_open#
- subroutine aot_fun_table(L, parent, fun, key, pos)#
Arguments:
type (
flu_state) :: Linteger, intent(in), optional :: parent
type (
aot_fun_type), intent(out) :: funcharacter(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
- subroutine aot_fun_ref(L, fun, ref)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type), intent(out) :: funinteger, intent(in) :: ref
- interface aot_fun_put#
- subroutine aot_fun_put_top(L, fun)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: fun
- subroutine aot_fun_put_double(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
double_k), intent(in) :: arg
- subroutine aot_fun_put_single(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
single_k), intent(in) :: arg
- subroutine aot_fun_put_double_v(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
double_k), intent(in) :: arg
- subroutine aot_fun_put_single_v(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
single_k), intent(in) :: arg
- function aot_fun_top(L)#
Arguments:
type (
flu_state) :: L
Returns: type (
aot_fun_type)
- function aot_fun_id(fun)#
Arguments:
type (
aot_fun_type), intent(in) :: fun
Returns: character(len=32)
- subroutine aot_fun_close(L, fun)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: fun
- subroutine aot_fun_do(L, fun, nresults, ErrCode, ErrString)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funinteger, intent(in) :: nresults
integer, intent(out), optional :: ErrCode
character(len=*), intent(out), optional :: ErrString
- module aot_out_general_module#
- type aot_out_type#
- member outunit#
Type: integer
- member indent#
Type: integer
- member stack#
Type: integer
- member level#
Type: integer
- member externalOpen#
Type: logical
- member in_step#
Type: integer
- function newunit()#
Returns: integer
- subroutine aot_out_open(put_conf, filename, outUnit, indentation, outstat)#
Arguments:
type (
aot_out_type), intent(out) :: put_confcharacter(len=*), intent(in), optional :: filename
integer, intent(in), optional :: outUnit
integer, intent(in), optional :: indentation
integer, intent(out), optional :: outstat
- subroutine aot_out_close(put_conf)#
Arguments:
type (
aot_out_type), intent(inout) :: put_conf
- subroutine aot_out_open_table(put_conf, tname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confcharacter(len=*), intent(in), optional :: tname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_close_table(put_conf, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_conflogical, intent(in), optional :: advance_previous
- subroutine aot_out_breakline(put_conf, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_conflogical, intent(in), optional :: advance_previous
- subroutine aot_out_toChunk(out_conf, chunk, ErrCode, ErrString)#
Arguments:
type (
aot_out_type), intent(in) :: out_confcharacter(len=*), intent(out) :: chunk
integer, intent(out), optional :: ErrCode
character(len=*), intent(out), optional :: ErrString
- module aot_out_module#
Uses:
flu_kinds_module,aot_out_general_module,aot_quadruple_out_module,aot_extdouble_out_module- interface aot_out_val#
- subroutine aot_out_val_int(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confinteger (
int_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_long(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confinteger (
long_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_real(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
single_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_double(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
double_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_logical(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_conflogical, intent(in) :: val
character(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_string(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confcharacter(len=*), intent(in) :: val
character(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_arr_int(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confinteger (
int_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- subroutine aot_out_val_arr_long(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confinteger (
long_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- subroutine aot_out_val_arr_real(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
single_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- subroutine aot_out_val_arr_double(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
double_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- subroutine aot_out_val_arr_logical(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_conflogical, intent(in) :: val
character(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- subroutine aot_out_val_arr_string(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confcharacter(len=*), intent(in) :: val
character(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- module aot_path_module#
Uses:
flu_binding,aotus_module,aot_table_module,aot_fun_module- type aot_path_node_type#
- member NodeType#
Type: character(len=16)
- member ID_kind#
Type: character(len=16)
- member key#
Type: character(len=80)
- member pos#
Type: integer
- member child = NULL()#
Type: type (
aot_path_node_type), pointer
- type aot_path_type#
- member LuaFilename#
Type: character(len=256)
- member rootHandle#
Type: integer
- member GlobalNode = NULL()#
Type: type (
aot_path_node_type), pointer
- member head = NULL()#
Type: type (
aot_path_node_type), pointer
- interface assignment(=)#
- subroutine aot_path_copy(left, right)#
Arguments:
type (
aot_path_type), intent(inout) :: lefttype (
aot_path_type), intent(in) :: right
- interface aot_path_open#
- subroutine aot_path_open_fun(me, conf, fun, openLua)#
Arguments:
type (
aot_path_type), intent(inout) :: metype (
flu_state) :: conftype (
aot_fun_type), intent(out) :: funlogical, intent(in), optional :: openLua
- subroutine aot_path_open_table(me, conf, thandle, openLua)#
Arguments:
type (
aot_path_type), intent(inout) :: metype (
flu_state) :: confinteger, intent(out) :: thandle
logical, intent(in), optional :: openLua
- interface aot_path_close#
- subroutine aot_path_close_fun(me, conf, fun, closeLua)#
Arguments:
type (
aot_path_type), intent(inout) :: metype (
flu_state) :: conftype (
aot_fun_type), intent(inout) :: funlogical, intent(in), optional :: closeLua
- subroutine aot_path_close_table(me, conf, closeLua)#
Arguments:
type (
aot_path_type), intent(inout) :: metype (
flu_state) :: conflogical, intent(in), optional :: closeLua
- subroutine aot_init_path(me, Filename)#
Arguments:
type (
aot_path_type), intent(out) :: mecharacter(len=*), intent(in), optional :: Filename
- subroutine aot_fin_path(me)#
Arguments:
type (
aot_path_type), intent(inout) :: me
- subroutine aot_path_addNode(me, NodeType, pos, key)#
Arguments:
type (
aot_path_type), intent(inout) :: mecharacter(len=*), intent(in) :: NodeType
integer, intent(in), optional :: pos
character(len=*), intent(in), optional :: key
- subroutine aot_path_delNode(me, isEmpty)#
Arguments:
type (
aot_path_type), intent(inout) :: melogical, intent(out), optional :: isEmpty
- subroutine aot_path_toString(path, pathAsString)#
Arguments:
type (
aot_path_type), intent(in) :: pathcharacter(len=*), intent(out) :: pathAsString
- subroutine aot_path_dump(path, outputUnit)#
Arguments:
type (
aot_path_type), intent(in) :: pathinteger, intent(in) :: outputUnit
- module aot_quadruple_fun_module#
Uses:
flu_binding,flu_kinds_module,aot_quadruple_top_module,aot_fun_declaration_module,aot_table_module- interface aot_fun_put#
- subroutine aot_fun_put_quadruple(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
quad_k), intent(in) :: arg
- subroutine aot_fun_put_quadruple_v(L, fun, arg)#
Arguments:
type (
flu_state) :: Ltype (
aot_fun_type) :: funreal (
quad_k), intent(in) :: arg
- module aot_quadruple_out_module#
Uses:
aot_out_general_module,aot_quadruple_top_module- interface aot_out_val#
- subroutine aot_out_val_quadruple(put_conf, val, vname, advance_previous)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
quad_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
- subroutine aot_out_val_arr_quadruple(put_conf, val, vname, advance_previous, max_per_line)#
Arguments:
type (
aot_out_type), intent(inout) :: put_confreal (
quad_k), intent(in) :: valcharacter(len=*), intent(in), optional :: vname
logical, intent(in), optional :: advance_previous
integer, intent(in), optional :: max_per_line
- module aot_quadruple_table_module#
Uses:
flu_binding,flu_kinds_module,aot_err_module,aot_quadruple_top_module,aot_top_module,aot_table_ops_module- interface aot_table_get_val#
- subroutine get_table_quadruple(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- interface aot_table_set_val#
- interface aot_get_val#
- module aot_quadruple_top_module#
Uses:
flu_binding,aot_err_module- parameter quad_k = selected_real_kind(33)#
Type: integer
- module aot_quadruple_vector_module#
Uses:
flu_binding,aot_quadruple_top_module,aot_table_ops_module,aot_top_module- interface aot_get_val#
- subroutine get_table_quadruple_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
real (
quad_k), intent(out), allocatable :: valinteger, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
real (
quad_k), intent(in), optional :: default
- subroutine get_table_quadruple_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- interface aot_table_get_val#
- module aot_references_module#
- module aot_table_module#
Uses:
flu_binding,flu_kinds_module,aot_err_module,aot_top_module,aot_table_ops_module,aot_quadruple_table_module,aot_extdouble_table_module- interface aot_table_get_val#
- subroutine get_table_real(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_double(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_integer(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_long(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_string(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
character(len=*) :: val
integer, intent(out) :: ErrCode
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
character(len=*), intent(in), optional :: default
- subroutine get_table_logical(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
logical, intent(out) :: val
integer, intent(out) :: ErrCode
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
logical, intent(in), optional :: default
- subroutine get_table_userdata(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
type (
c_ptr), intent(out) :: valinteger, intent(out) :: ErrCode
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
type (
c_ptr), intent(in), optional :: default
- interface aot_table_set_val#
- subroutine set_table_real(val, L, thandle, key, pos)#
Arguments:
- subroutine set_table_double(val, L, thandle, key, pos)#
Arguments:
- subroutine set_table_integer(val, L, thandle, key, pos)#
Arguments:
- subroutine set_table_long(val, L, thandle, key, pos)#
Arguments:
- subroutine set_table_string(val, L, thandle, key, pos)#
Arguments:
character(len=*), intent(in) :: val
type (
flu_State) :: Linteger, intent(in) :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
- interface aot_get_val#
- module aot_table_ops_module#
Uses:
flu_binding,flu_kinds_module,aot_top_module- interface aot_push#
- function aot_type_of(L, thandle, key, pos)#
Arguments:
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
Returns: integer
- function aot_table_first(L, thandle)#
Arguments:
type (
flu_state) :: Linteger, intent(in) :: thandle
Returns: logical
- function aot_table_length(L, thandle)#
Arguments:
type (
flu_state) :: Linteger, intent(in) :: thandle
Returns: integer
- module aot_top_module#
Uses:
flu_binding,flu_kinds_module,aot_err_module,aot_quadruple_top_module,aot_extdouble_top_module- interface aot_top_get_val#
- subroutine aot_top_get_real(val, ErrCode, L, default)#
Arguments:
- subroutine aot_top_get_double(val, ErrCode, L, default)#
Arguments:
- subroutine aot_top_get_integer(val, ErrCode, L, default)#
Arguments:
- subroutine aot_top_get_long(val, ErrCode, L, default)#
Arguments:
- subroutine aot_top_get_string(val, ErrCode, L, default)#
Arguments:
character(len=*) :: val
integer, intent(out) :: ErrCode
type (
flu_State) :: Lcharacter(len=*), intent(in), optional :: default
- module aot_vector_module#
Uses:
flu_binding,flu_kinds_module,aot_table_ops_module,aot_top_module,aot_quadruple_vector_module,aot_extdouble_vector_module- interface aot_get_val#
- subroutine get_table_real_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
real (
single_k), intent(out), allocatable :: valinteger, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
real (
single_k), intent(in), optional :: default
- subroutine get_table_double_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
real (
double_k), intent(out), allocatable :: valinteger, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
real (
double_k), intent(in), optional :: default
- subroutine get_table_integer_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
integer (
int_k), intent(out), allocatable :: valinteger, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
integer (
int_k), intent(in), optional :: default
- subroutine get_table_long_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
integer (
long_k), intent(out), allocatable :: valinteger, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
integer (
long_k), intent(in), optional :: default
- subroutine get_table_logical_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
logical, intent(out), allocatable :: val
integer, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
logical, intent(in), optional :: default
- subroutine get_table_string_vvect(val, ErrCode, maxlength, L, thandle, key, pos, default)#
Arguments:
character(len=*), intent(out), allocatable :: val
integer, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
character(len=*), intent(in), optional :: default
- subroutine get_table_real_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_double_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_integer_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_long_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
- subroutine get_table_logical_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
logical, intent(out) :: val
integer, intent(out) :: ErrCode
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
logical, intent(in), optional :: default
- subroutine get_table_string_v(val, ErrCode, L, thandle, key, pos, default)#
Arguments:
character(len=*), intent(out) :: val
integer, intent(out) :: ErrCode
type (
flu_State) :: Linteger, intent(in), optional :: thandle
character(len=*), intent(in), optional :: key
integer, intent(in), optional :: pos
character(len=*), intent(in), optional :: default
- interface aot_table_get_val#
- interface aot_top_get_val#
- subroutine get_top_real_vvect(val, ErrCode, maxlength, L, default)#
Arguments:
- subroutine get_top_double_vvect(val, ErrCode, maxlength, L, default)#
Arguments:
- subroutine get_top_integer_vvect(val, ErrCode, maxlength, L, default)#
Arguments:
- subroutine get_top_long_vvect(val, ErrCode, maxlength, L, default)#
Arguments:
- subroutine get_top_logical_vvect(val, ErrCode, maxlength, L, default)#
Arguments:
logical, intent(out), allocatable :: val
integer, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Llogical, intent(in), optional :: default
- subroutine get_top_string_vvect(val, ErrCode, maxlength, L, default)#
Arguments:
character(len=*), intent(out), allocatable :: val
integer, intent(out), allocatable :: ErrCode
integer, intent(in) :: maxlength
type (
flu_State) :: Lcharacter(len=*), intent(in), optional :: default
- subroutine get_top_real_v(val, ErrCode, L, default)#
Arguments:
- subroutine get_top_double_v(val, ErrCode, L, default)#
Arguments:
- subroutine get_top_integer_v(val, ErrCode, L, default)#
Arguments:
- subroutine get_top_long_v(val, ErrCode, L, default)#
Arguments:
- module aotus_module#
Uses:
flu_binding,flu_kinds_module,aot_top_module,aot_table_module,aot_vector_module- subroutine open_config_file(L, filename, ErrCode, ErrString, buffer)#
Arguments:
- subroutine open_config_chunk(L, chunk, ErrCode, ErrString)#
Arguments:
type (
flu_State) :: Lcharacter(len=*), intent(in) :: chunk
integer, intent(out), optional :: ErrCode
character(len=*), intent(out), optional :: ErrString
- subroutine open_config_buffer(L, buffer, bufName, ErrCode, ErrString)#
Arguments:
type (
flu_State) :: Lcharacter(len=1), intent(in) :: buffer
character(len=*), intent(in), optional :: bufName
integer, intent(out), optional :: ErrCode
character(len=*), intent(out), optional :: ErrString
- module flu_binding#
Uses: iso_c_binding,
lua_fif,lua_parameters,dump_lua_fif_module,flu_kinds_module- parameter FLU_TNONE = int(LUA_TNONE)#
Type: integer
- parameter FLU_TNIL = int(LUA_TNIL)#
Type: integer
- parameter FLU_TBOOLEAN = int(LUA_TBOOLEAN)#
Type: integer
- parameter FLU_TLIGHTUSERDATA = int(LUA_TLIGHTUSERDATA)#
Type: integer
- parameter FLU_TNUMBER = int(LUA_TNUMBER)#
Type: integer
- parameter FLU_TSTRING = int(LUA_TSTRING)#
Type: integer
- parameter FLU_TTABLE = int(LUA_TTABLE)#
Type: integer
- parameter FLU_TFUNCTION = int(LUA_TFUNCTION)#
Type: integer
- parameter FLU_TUSERDATA = int(LUA_TUSERDATA)#
Type: integer
- parameter FLU_TTHREAD = int(LUA_TTHREAD)#
Type: integer
- type flu_State#
- member state = c_null_ptr#
Type: type (
c_ptr)
- member opened_libs = .false.#
Type: logical
- type cbuf_type#
- member ptr = c_null_ptr#
Type: type (
c_ptr)
- member buffer = NULL()#
Type: character(len=1), pointer
- interface flu_pushnumber#
- interface flu_pushinteger#
- interface flu_dump#
- interface c_free#
- function flu_getfield(L, index, k)#
Arguments:
type (
flu_State) :: Linteger :: index
character(len=*) :: k
Returns: integer
- function flu_getglobal(L, k)#
Arguments:
type (
flu_State) :: Lcharacter(len=*) :: k
Returns: integer
- function flu_isBoolean(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: logical
- function flu_isFunction(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: logical
- function flu_isNoneOrNil(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: logical
- function flu_islightuserdata(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: logical
- function flu_next(L, index)#
Arguments:
type (
flu_State) :: Linteger, intent(in) :: index
Returns: logical
- function flu_pcall(L, nargs, nresults, errfunc)#
Arguments:
type (
flu_State) :: Linteger :: nargs
integer :: nresults
integer :: errfunc
Returns: integer
- function flu_rawgeti(L, index, n)#
Arguments:
type (
flu_State) :: Linteger, intent(in) :: index
integer, intent(in) :: n
Returns: integer
- function flu_tolstring(L, index, len)#
Arguments:
type (
flu_State) :: Linteger :: index
integer :: len
Returns: character(len=1), pointer, dimension(:)
- function flu_todouble(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: real (
c_double)
- function flu_toBoolean(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: logical
- function flu_touserdata(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: type (
c_ptr)
- function flu_topointer(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: integer (
long_k)
- function flu_getmetatable(L, index)#
Arguments:
type (
flu_State) :: Linteger :: index
Returns: integer
- function fluL_loadfile(L, filename)#
Arguments:
type (
flu_State) :: Lcharacter(len=*) :: filename
Returns: integer
- function fluL_loadbuffer(L, buffer, bufName)#
Arguments:
type (
flu_State) :: Lcharacter(len=1) :: buffer
character(len=*), optional :: bufName
Returns: integer
- function fluL_loadstring(L, string)#
Arguments:
type (
flu_State) :: Lcharacter(len=*) :: string
Returns: integer
- function fluL_newmetatable(L, tname)#
Arguments:
type (
flu_State) :: Lcharacter(len=*) :: tname
Returns: integer
- function flu_copyptr(lua_state)#
Arguments:
type (
c_ptr), intent(in) :: lua_state
Returns: type (
flu_State)
- subroutine flu_createtable(L, narr, nrec)#
Arguments:
type (
flu_State) :: Linteger :: narr
integer :: nrec
- subroutine flu_pushstring(L, string)#
Arguments:
type (
flu_State) :: Lcharacter(len=*), intent(in) :: string
- subroutine flu_setfield(L, index, k)#
Arguments:
type (
flu_State) :: Linteger :: index
character(len=*) :: k
- subroutine flu_pushcclosure(L, fn, n)#
Arguments:
type (
flu_State), value :: Lprocedure(lua_Function) :: fn
integer :: n
- module flu_kinds_module#
- parameter quad_k = selected_real_kind(33)#
Type: integer
- parameter double_k = selected_real_kind(15)#
Type: integer
- parameter single_k = selected_real_kind(6)#
Type: integer
- parameter int_k = selected_int_kind(6)#
Type: integer
- parameter long_k = selected_int_kind(15)#
Type: integer
- module lua_fif#
Uses: iso_c_binding,
lua_parameters- interface lua_getglobal#
- interface lua_getfield#
- interface lua_gettable#
- interface lua_gettop#
- interface lua_isNumber#
- interface lua_isString#
- interface lua_next#
- interface lua_pcallk#
- interface lua_pushlstring#
- interface lua_rawgeti#
- interface lua_tolstring#
- interface lua_tonumberx#
- interface lua_toboolean#
- interface lua_touserdata#
- interface lua_topointer#
- interface lua_type#
- interface lua_getmetatable#
- interface lua_close#
- interface lua_createtable#
- interface lua_pushinteger#
- interface lua_pushboolean#
- interface lua_pushnil#
- interface lua_pushnumber#
- interface lua_pushvalue#
- interface lua_rotate#
- interface lua_setfield#
- interface lua_setglobal#
- interface lua_settable#
- interface lua_settop#
- interface lua_pushcclosure#
- interface lua_pushlightuserdata#
- interface luaL_newstate#
- interface luaL_loadfilex#
- interface luaL_loadbufferx#
- interface luaL_loadstring#
- interface luaL_newmetatable#
- interface luaL_ref#
- interface luaL_openlibs#
- interface luaL_setmetatable#
- module lua_parameters#
Uses: iso_c_binding
- parameter lua_int = c_long#
Type: integer
- parameter lua_num = c_double#
Type: integer
- parameter LUAI_MAXSTACK = 1000000#
Type: integer (
c_int)
- parameter LUA_TNONE = -1#
Type: integer (
c_int)
- parameter LUA_TNIL = 0#
Type: integer (
c_int)
- parameter LUA_TBOOLEAN = 1#
Type: integer (
c_int)
- parameter LUA_TLIGHTUSERDATA = 2#
Type: integer (
c_int)
- parameter LUA_TNUMBER = 3#
Type: integer (
c_int)
- parameter LUA_TSTRING = 4#
Type: integer (
c_int)
- parameter LUA_TTABLE = 5#
Type: integer (
c_int)
- parameter LUA_TFUNCTION = 6#
Type: integer (
c_int)
- parameter LUA_TUSERDATA = 7#
Type: integer (
c_int)
- parameter LUA_TTHREAD = 8#
Type: integer (
c_int)
- parameter LUA_REGISTRYINDEX = -LUAI_MAXSTACK-1000#
Type: integer (
c_int)