aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of14
1 files changed, 10 insertions, 4 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 3181549d..7df32fcf 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -3672,12 +3672,13 @@ will contain the chunk until everything created by the chunk has
3672been collected; 3672been collected;
3673therefore, Lua can avoid copying to internal structures 3673therefore, Lua can avoid copying to internal structures
3674some parts of the chunk. 3674some parts of the chunk.
3675(In general, a fixed buffer would keep the chunk 3675(In general, a fixed buffer would keep its contents
3676as its contents until the end of the program, 3676until the end of the program,
3677for instance with the chunk in ROM.) 3677for instance with the chunk in ROM.)
3678Moreover, for a fixed buffer, 3678Moreover, for a fixed buffer,
3679the reader function should return the entire chunk in the first read. 3679the reader function should return the entire chunk in the first read.
3680(As an example, @Lid{luaL_loadbufferx} does that.) 3680(As an example, @Lid{luaL_loadbufferx} does that,
3681which means that you can use it to load fixed buffers.)
3681 3682
3682The function @Lid{lua_load} fully preserves the Lua stack 3683The function @Lid{lua_load} fully preserves the Lua stack
3683through the calls to the reader function, 3684through the calls to the reader function,
@@ -3936,7 +3937,7 @@ This function is equivalent to @Lid{lua_pushcclosure} with no upvalues.
3936 3937
3937Creates an @emphx{external string}, 3938Creates an @emphx{external string},
3938that is, a string that uses memory not managed by Lua. 3939that is, a string that uses memory not managed by Lua.
3939The pointer @id{s} points to the exernal buffer 3940The pointer @id{s} points to the external buffer
3940holding the string content, 3941holding the string content,
3941and @id{len} is the length of the string. 3942and @id{len} is the length of the string.
3942The string should have a zero at its end, 3943The string should have a zero at its end,
@@ -9362,6 +9363,11 @@ it is equivalent to @Lid{lua_closethread} with
9362} 9363}
9363 9364
9364@item{ 9365@item{
9366The function @id{lua_setcstacklimit} is deprecated.
9367Calls to it can simply be removed.
9368}
9369
9370@item{
9365The function @Lid{lua_dump} changed the way it keeps the stack 9371The function @Lid{lua_dump} changed the way it keeps the stack
9366through the calls to the writer function. 9372through the calls to the writer function.
9367(That was not specified in previous versions.) 9373(That was not specified in previous versions.)