aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-03-17 16:05:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-03-17 16:05:47 -0300
commitfdbb4c23414cef141602a45ae8464f0553085e02 (patch)
tree64998b28de40f66809dbb739fe67c8f5fc50ad51
parent921832be8d7f687d2cd891654c8680c6e9d6584c (diff)
downloadlua-fdbb4c23414cef141602a45ae8464f0553085e02.tar.gz
lua-fdbb4c23414cef141602a45ae8464f0553085e02.tar.bz2
lua-fdbb4c23414cef141602a45ae8464f0553085e02.zip
Detail in the manualHEADmaster
-rw-r--r--manual/manual.of14
1 files changed, 8 insertions, 6 deletions
diff --git a/manual/manual.of b/manual/manual.of
index b698672a..c1a9c138 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -6230,15 +6230,17 @@ Returns the name of the type of the value at the given index.
6230@APIEntry{void luaL_unref (lua_State *L, int t, int ref);| 6230@APIEntry{void luaL_unref (lua_State *L, int t, int ref);|
6231@apii{0,0,-} 6231@apii{0,0,-}
6232 6232
6233Releases the reference @id{ref} from the table at index @id{t} 6233Releases a reference @see{luaL_ref}.
6234@seeC{luaL_ref}. 6234The integer @id{ref} must be either
6235The entry is removed from the table, 6235@Lid{LUA_NOREF}, @Lid{LUA_REFNIL},
6236or a reference previously returned by @Lid{luaL_ref}
6237and not already released.
6238If @id{ref} is either @Lid{LUA_NOREF} or @Lid{LUA_REFNIL}
6239this function does nothing.
6240Otherwise, the entry is removed from the table,
6236so that the referred object can be collected and 6241so that the referred object can be collected and
6237the reference @id{ref} can be used again by @Lid{luaL_ref}. 6242the reference @id{ref} can be used again by @Lid{luaL_ref}.
6238 6243
6239If @id{ref} is @Lid{LUA_NOREF} or @Lid{LUA_REFNIL},
6240@Lid{luaL_unref} does nothing.
6241
6242} 6244}
6243 6245
6244@APIEntry{void luaL_where (lua_State *L, int lvl);| 6246@APIEntry{void luaL_where (lua_State *L, int lvl);|