Pārlūkot izejas kodu

Details (identation and typos)

Roberto Ierusalimschy 3 gadi atpakaļ
vecāks
revīzija
e435aaabef
2 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 2 1
      ldo.h
  2. 2 2
      manual/manual.of

+ 2 - 1
ldo.h

@@ -58,7 +58,8 @@ LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line,
 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line,
                                         int fTransfer, int nTransfer);
                                         int fTransfer, int nTransfer);
 LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci);
 LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci);
-LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func,                                                    int narg1, int delta);
+LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func,
+                                              int narg1, int delta);
 LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults);
 LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults);
 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);
 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);

+ 2 - 2
manual/manual.of

@@ -2521,7 +2521,7 @@ In general,
 Lua's garbage collection can free or move internal memory
 Lua's garbage collection can free or move internal memory
 and then invalidate pointers to internal strings.
 and then invalidate pointers to internal strings.
 To allow a safe use of these pointers,
 To allow a safe use of these pointers,
-The API guarantees that any pointer to a string in a stack index
+the API guarantees that any pointer to a string in a stack index
 is valid while the string value at that index is not removed from the stack.
 is valid while the string value at that index is not removed from the stack.
 (It can be moved to another index, though.)
 (It can be moved to another index, though.)
 When the index is a pseudo-index (referring to an upvalue),
 When the index is a pseudo-index (referring to an upvalue),
@@ -5349,7 +5349,7 @@ Equivalent to the sequence
 @APIEntry{void luaL_buffsub (luaL_Buffer *B, int n);|
 @APIEntry{void luaL_buffsub (luaL_Buffer *B, int n);|
 @apii{?,?,-}
 @apii{?,?,-}
 
 
-Removes @id{n} bytes from the the buffer @id{B}
+Removes @id{n} bytes from the buffer @id{B}
 @seeC{luaL_Buffer}.
 @seeC{luaL_Buffer}.
 The buffer must have at least that many bytes.
 The buffer must have at least that many bytes.