Skip to content

Commit

Permalink
man3: add missing description of lua_Debug structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Jul 27, 2022
1 parent 0aa2af8 commit bd236c8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Set a minimum level to be reported by mandoc to "style".
- Add missing description of `lua_Debug` structure in `lua_Debug.3`.

### Fixed

Expand Down
19 changes: 19 additions & 0 deletions man3/lua_Debug.3
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit bd236c8

Please sign in to comment.