Source

aotus / LuaFortran / lua_parameters.f90

Full commit
module lua_parameters
  use, intrinsic :: iso_c_binding

  implicit none

  ! System dependent, might need to be adapted:
  integer, parameter :: lua_int = c_long
  integer, parameter :: lua_num = c_double

  ! lua constants
  integer(kind=c_int), parameter :: LUA_TNONE = -1
  integer(kind=c_int), parameter :: LUA_TNIL = 0
  integer(kind=c_int), parameter :: LUA_TBOOLEAN = 1
  integer(kind=c_int), parameter :: LUA_TTABLE = 5
  integer(kind=c_int), parameter :: LUA_TFUNCTION = 6

end module lua_parameters