We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5032f9 commit 17dae87Copy full SHA for 17dae87
src/lua.f90
@@ -66,13 +66,14 @@ module lua
66
integer(kind=c_int), parameter, public :: LUA_GCGEN = 10
67
integer(kind=c_int), parameter, public :: LUA_GCINC = 11
68
69
- ! Thread status.
+ ! Error codes.
70
integer(kind=c_int), parameter, public :: LUA_OK = 0
71
integer(kind=c_int), parameter, public :: LUA_YIELD = 1
72
integer(kind=c_int), parameter, public :: LUA_ERRRUN = 2
73
integer(kind=c_int), parameter, public :: LUA_ERRSYNTAX = 3
74
integer(kind=c_int), parameter, public :: LUA_ERRMEM = 4
75
integer(kind=c_int), parameter, public :: LUA_ERRERR = 5
76
+ integer(kind=c_int), parameter, public :: LUA_ERRFILE = LUA_ERRERR + 1
77
78
public :: lua_arith
79
public :: lua_call
0 commit comments