From f34001faa91e9ed032dbbcbbcdb65cd085a40807 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Jul 2001 14:25:03 -0300 Subject: details --- manual.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/manual.tex b/manual.tex index 8284b989..22d6393e 100644 --- a/manual.tex +++ b/manual.tex @@ -1,4 +1,4 @@ -% $Id: manual.tex,v 1.49 2001/01/31 19:53:01 roberto Exp roberto $ +% $Id: manual.tex,v 1.50 2001/07/19 13:36:18 roberto Exp roberto $ \documentclass[11pt]{article} \usepackage{fullpage} @@ -134,7 +134,7 @@ Waldemar Celes \tecgraf\ --- Computer Science Department --- PUC-Rio } -\date{{\small \tt\$Date: 2001/01/31 19:53:01 $ $}} +\date{{\small \tt\$Date: 2001/07/19 13:36:18 $ $}} \maketitle @@ -2205,18 +2205,18 @@ tables indexed by numbers only: \DefAPI{lua_rawseti} \DefAPI{lua_getn} -\verb|lua_rawgeti| gets the value of the \M{n}-th element of the table +\verb|lua_rawgeti| pushes the value of the \M{n}-th element of the table at stack position \verb|index|. \verb|lua_rawseti| sets the value of the \M{n}-th element of the table -at stack position \verb|index| to the value at the top of the stack. +at stack position \verb|index| to the value at the top of the stack, +removing the value from the stack. \verb|lua_getn| returns the number of elements in the table at stack position \verb|index|. This number is the value of the table field \verb|n|, if it has a numeric value, -or -the largest numerical index with a non-nil value in the table. +or the largest numerical index with a non-nil value in the table. \subsection{Calling Lua Functions} -- cgit v1.2.3-55-g6feb