commit bd236c8d402eaa0b0042c1188a677a8bc40b3d2b from: Sergey Bronnikov date: Wed Jul 27 06:59:11 2022 UTC man3: add missing description of lua_Debug structure commit - 0aa2af864c9c8654b1b7c907c9eefaa29ea2ff05 commit + bd236c8d402eaa0b0042c1188a677a8bc40b3d2b blob - 61d0a25a4aad3427bbf5823fba53b9fd8817d861 blob + c44718cc179be3440f932df1788bdbd72203316d --- CHANGELOG.md +++ CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http ### Changed - Set a minimum level to be reported by mandoc to "style". +- Add missing description of `lua_Debug` structure in `lua_Debug.3`. ### Fixed blob - 92b818571e8a727b701e843f9c3bae7478139886 blob + 9a5cb127e1a31b57d2da5dfafeb848fe7c8f7bf4 --- man3/lua_Debug.3 +++ man3/lua_Debug.3 @@ -19,6 +19,25 @@ To fill the other fields of with useful information, call .Xr lua_getinfo 3 . .Pp +.Vt lua_Debug +is defined as: +.Bd -literal +typedef struct lua_Debug { + int event; + const char *name; /* (n) */ + const char *namewhat; /* (n) */ + const char *what; /* (S) */ + const char *source; /* (S) */ + int currentline; /* (l) */ + int nups; /* (u) number of upvalues */ + int linedefined; /* (S) */ + int lastlinedefined; /* (S) */ + char short_src[LUA_IDSIZE]; /* (S) */ + /* private part */ + other fields +} lua_Debug; +.Ed +.Pp The fields of .Nm lua_Debug have the following meaning: