diff options
Diffstat (limited to 'manual.tex')
-rw-r--r-- | manual.tex | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | % $Id: manual.tex,v 1.39 2000/05/24 13:54:49 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.40 2000/08/09 19:09:20 roberto Exp roberto $ |
2 | 2 | ||
3 | \documentclass[11pt]{article} | 3 | \documentclass[11pt]{article} |
4 | \usepackage{fullpage,bnf} | 4 | \usepackage{fullpage,bnf} |
@@ -122,7 +122,7 @@ Waldemar Celes | |||
122 | \tecgraf\ --- Computer Science Department --- PUC-Rio | 122 | \tecgraf\ --- Computer Science Department --- PUC-Rio |
123 | } | 123 | } |
124 | 124 | ||
125 | \date{{\small \tt\$Date: 2000/05/24 13:54:49 $ $}} | 125 | \date{{\small \tt\$Date: 2000/08/09 19:09:20 $ $}} |
126 | 126 | ||
127 | \maketitle | 127 | \maketitle |
128 | 128 | ||
@@ -1933,15 +1933,15 @@ use the \emph{lua_rawset} function over the table of globals. | |||
1933 | 1933 | ||
1934 | To get the table of globals, | 1934 | To get the table of globals, |
1935 | you should call | 1935 | you should call |
1936 | \Deffunc{lua_pushglobaltable} | 1936 | \Deffunc{lua_pushglobals} |
1937 | \begin{verbatim} | 1937 | \begin{verbatim} |
1938 | void lua_pushglobaltable (lua_State *L); | 1938 | void lua_pushglobals (lua_State *L); |
1939 | \end{verbatim} | 1939 | \end{verbatim} |
1940 | To set another table as the table of globals, | 1940 | To set another table as the table of globals, |
1941 | you use | 1941 | you use |
1942 | \Deffunc{lua_setglobaltable} | 1942 | \Deffunc{lua_setglobals} |
1943 | \begin{verbatim} | 1943 | \begin{verbatim} |
1944 | void lua_setglobaltable (lua_State *L, lua_Object newtable); | 1944 | void lua_setglobals (lua_State *L, lua_Object newtable); |
1945 | \end{verbatim} | 1945 | \end{verbatim} |
1946 | 1946 | ||
1947 | Tables can also be manipulated via the API. | 1947 | Tables can also be manipulated via the API. |