Skip to content

Commit

Permalink
man3: luaL_checkstack.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Jul 27, 2022
1 parent 909fd42 commit e6048a7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions man3/luaL_checkstack.3
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.

0 comments on commit e6048a7

Please sign in to comment.