Source

aotus / LuaFortran / flu_binding.f90

Author Commit Message Labels Comments Date
jas43
Procedure to create flu_state from a pointer to an existing Lua state. This allows flu bindings to be used from a Fortran procedure which is called directly from Lua and hence has the interface function callable_from_lua(lua_state) result(val) use, intrinsic :: iso_c_binding, only: c_ptr type(c_ptr), value :: lua_state integer(c_int) :: val end function
Harald Klimach
Added a wrapper aorund the lua_insert method. Allow setting the top of the stack as an entry for the table.
Harald Klimach
Added the wrapper for lua_setfield to LuaFortran
Harald Klimach
Added a wrapper for lua_settable to LuaFortran
Harald Klimach
Added wrapper for lua_createtable in LuaFortran
Harald Klimach
Do not output to stdout in the flu_binding, might get unfeasible in parallel executions.
jas43
flu-style binding to luaL_loadstring.
jas43
Export flu_setglobal binding as public method.
Harald Klimach
Replace pointer assignment by plain assignment in component initialization for the c_ptr in flu_state.
jas43
Keep track of whether lua state is open. Function to check if it is open.
jas43
flu binding to lua_setglobal.
Kannan Masilamani
added isNone and isNil function in flu_binding
Harald Klimach
Updated to Lua 5.2.0
Harald Klimach
Initial version of the aotus library still some details missing, however already mostly useful.