forked from ligurio/lua-c-manual-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.Dd $Mdocdate: July 24 2022 $ | ||
.Dt LUAL_CHECKSTACK 3 | ||
.Os | ||
.Sh NAME | ||
.Nm luaL_checkstack | ||
.Nd grows the stack size to specified size of elements | ||
.Sh SYNOPSIS | ||
.In lauxlib.h | ||
.Ft void | ||
.Fn luaL_checkstack "lua_State *L" "int sz" "const char *msg" | ||
.Sh DESCRIPTION | ||
.Fn luaL_checkstack | ||
grows the stack size to | ||
.Em top + sz | ||
elements, raising an error if the stack cannot grow to that size. | ||
.Fa msg | ||
is an additional text to go into the error message. | ||
.Sh HISTORY | ||
The | ||
.Fn luaL_checkstack | ||
manual page was written by Sergey Bronnikov. |