aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-20 14:21:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-09-20 14:21:20 -0300
commitab7aceb9805e938b937bcf7e66e4160b42fbefaf (patch)
tree1419aa353c2eb4cb741b0184e6d6a9487384503a
parent72b12e095674fade39fb6e50fdd880176c38d2d9 (diff)
downloadlua-ab7aceb9805e938b937bcf7e66e4160b42fbefaf.tar.gz
lua-ab7aceb9805e938b937bcf7e66e4160b42fbefaf.tar.bz2
lua-ab7aceb9805e938b937bcf7e66e4160b42fbefaf.zip
Tochange
-rw-r--r--manual.tex14
1 files changed, 9 insertions, 5 deletions
diff --git a/manual.tex b/manual.tex
index 5d86a188..0b13babf 100644
--- a/manual.tex
+++ b/manual.tex
@@ -1,4 +1,4 @@
1% $Id: manual.tex,v 1.42 2000/08/30 18:58:46 roberto Exp roberto $ 1% $Id: manual.tex,v 1.43 2000/09/18 19:41:16 roberto Exp roberto $
2 2
3\documentclass[11pt]{article} 3\documentclass[11pt]{article}
4\usepackage{fullpage,bnf} 4\usepackage{fullpage,bnf}
@@ -21,6 +21,8 @@
21\newcommand{\Def}[1]{\emph{#1}\index{#1}} 21\newcommand{\Def}[1]{\emph{#1}\index{#1}}
22\newcommand{\Deffunc}[1]{\index{#1}} 22\newcommand{\Deffunc}[1]{\index{#1}}
23 23
24\newcommand{\Tochange}[1]{(#1 may change in the final 4.0 version.)}
25
24\newcommand{\ff}{$\bullet$\ } 26\newcommand{\ff}{$\bullet$\ }
25 27
26\newcommand{\Version}{4.0} 28\newcommand{\Version}{4.0}
@@ -129,7 +131,7 @@ Waldemar Celes
129\tecgraf\ --- Computer Science Department --- PUC-Rio 131\tecgraf\ --- Computer Science Department --- PUC-Rio
130} 132}
131 133
132\date{{\small \tt\$Date: 2000/08/30 18:58:46 $ $}} 134\date{{\small \tt\$Date: 2000/09/18 19:41:16 $ $}}
133 135
134\maketitle 136\maketitle
135 137
@@ -1522,7 +1524,7 @@ Lua does the equivalent of the following function:
1522\end{verbatim} 1524\end{verbatim}
1523Moreover, at the end of a garbage collection cycle, 1525Moreover, at the end of a garbage collection cycle,
1524Lua does the equivalent of the call \verb|gc_event(nil)|. 1526Lua does the equivalent of the call \verb|gc_event(nil)|.
1525(This may change in the final 4.0 version.) 1527\Tochange{This}
1526 1528
1527\end{description} 1529\end{description}
1528 1530
@@ -1827,6 +1829,7 @@ after that number of new objects have been created.
1827If \verb|limit| is 0, 1829If \verb|limit| is 0,
1828then Lua uses an adaptive heuristic to set this limit. 1830then Lua uses an adaptive heuristic to set this limit.
1829 1831
1832\Tochange{This function}
1830 1833
1831\subsection{Userdata and Tags}\label{C-tags} 1834\subsection{Userdata and Tags}\label{C-tags}
1832 1835
@@ -2251,7 +2254,6 @@ in the official Lua distribution.
2251 2254
2252\subsection{References to Lua Objects} 2255\subsection{References to Lua Objects}
2253 2256
2254As noted in \See{GC}, Lua values are volatile.
2255If the C~code needs to keep a Lua value 2257If the C~code needs to keep a Lua value
2256outside the life span of a C~function, 2258outside the life span of a C~function,
2257then it must create a \Def{reference} to the value. 2259then it must create a \Def{reference} to the value.
@@ -2376,6 +2378,8 @@ then Lua uses an adaptive algorithm to set this limit.
2376\verb|collectgarbage| is equivalent to 2378\verb|collectgarbage| is equivalent to
2377the API function \verb|lua_collectgarbage|. 2379the API function \verb|lua_collectgarbage|.
2378 2380
2381\Tochange{This function}
2382
2379\subsubsection*{\ff \T{copytagmethods (tagto, tagfrom)}} 2383\subsubsection*{\ff \T{copytagmethods (tagto, tagfrom)}}
2380\Deffunc{copytagmethods} 2384\Deffunc{copytagmethods}
2381Copies all tag methods from one tag to another; 2385Copies all tag methods from one tag to another;
@@ -3387,7 +3391,7 @@ If the function was defined in a string,
3387if the function was defined in a file, 3391if the function was defined in a file,
3388\verb|source| starts with a \verb|@| followed by the file name. 3392\verb|source| starts with a \verb|@| followed by the file name.
3389 3393
3390\item[short_src] 3394\item[short\_src]
3391A ``printable'' version of \verb|source|, to be used in error messages. 3395A ``printable'' version of \verb|source|, to be used in error messages.
3392 3396
3393\item[linedefined] 3397\item[linedefined]