diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-05-10 11:13:39 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-05-10 11:13:39 -0300 |
commit | e435aaabef8e717e0812a16a82b56acd11fb34c1 (patch) | |
tree | 331bf674e3db83d6141eba7c3426087e760dd630 | |
parent | 315639d3bbdff4f83d2ab55863141276cb882af0 (diff) | |
download | lua-e435aaabef8e717e0812a16a82b56acd11fb34c1.tar.gz lua-e435aaabef8e717e0812a16a82b56acd11fb34c1.tar.bz2 lua-e435aaabef8e717e0812a16a82b56acd11fb34c1.zip |
Details (identation and typos)
-rw-r--r-- | ldo.h | 3 | ||||
-rw-r--r-- | manual/manual.of | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -58,7 +58,8 @@ LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, | |||
58 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line, | 58 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line, |
59 | int fTransfer, int nTransfer); | 59 | int fTransfer, int nTransfer); |
60 | LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci); | 60 | LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci); |
61 | LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int narg1, int delta); | 61 | LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, |
62 | int narg1, int delta); | ||
62 | LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults); | 63 | LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults); |
63 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); | 64 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); |
64 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); | 65 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); |
diff --git a/manual/manual.of b/manual/manual.of index bd648c6c..30f92d60 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
@@ -2521,7 +2521,7 @@ In general, | |||
2521 | Lua's garbage collection can free or move internal memory | 2521 | Lua's garbage collection can free or move internal memory |
2522 | and then invalidate pointers to internal strings. | 2522 | and then invalidate pointers to internal strings. |
2523 | To allow a safe use of these pointers, | 2523 | To allow a safe use of these pointers, |
2524 | The API guarantees that any pointer to a string in a stack index | 2524 | the API guarantees that any pointer to a string in a stack index |
2525 | is valid while the string value at that index is not removed from the stack. | 2525 | is valid while the string value at that index is not removed from the stack. |
2526 | (It can be moved to another index, though.) | 2526 | (It can be moved to another index, though.) |
2527 | When the index is a pseudo-index (referring to an upvalue), | 2527 | When the index is a pseudo-index (referring to an upvalue), |
@@ -5349,7 +5349,7 @@ Equivalent to the sequence | |||
5349 | @APIEntry{void luaL_buffsub (luaL_Buffer *B, int n);| | 5349 | @APIEntry{void luaL_buffsub (luaL_Buffer *B, int n);| |
5350 | @apii{?,?,-} | 5350 | @apii{?,?,-} |
5351 | 5351 | ||
5352 | Removes @id{n} bytes from the the buffer @id{B} | 5352 | Removes @id{n} bytes from the buffer @id{B} |
5353 | @seeC{luaL_Buffer}. | 5353 | @seeC{luaL_Buffer}. |
5354 | The buffer must have at least that many bytes. | 5354 | The buffer must have at least that many bytes. |
5355 | 5355 | ||