diff options
Diffstat (limited to 'manual.tex')
-rw-r--r-- | manual.tex | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | % $Id: manual.tex,v 1.37 2000/05/12 19:19:18 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.38 2000/05/12 19:49:18 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/12 19:19:18 $ $}} | 125 | \date{{\small \tt\$Date: 2000/05/12 19:49:18 $ $}} |
126 | 126 | ||
127 | \maketitle | 127 | \maketitle |
128 | 128 | ||
@@ -1695,7 +1695,7 @@ you can use the following conversion functions: | |||
1695 | \begin{verbatim} | 1695 | \begin{verbatim} |
1696 | double lua_getnumber (lua_Object object); | 1696 | double lua_getnumber (lua_Object object); |
1697 | const char *lua_getstring (lua_Object object); | 1697 | const char *lua_getstring (lua_Object object); |
1698 | long lua_strlen (lua_Object object); | 1698 | size_t lua_strlen (lua_Object object); |
1699 | lua_CFunction lua_getcfunction (lua_Object object); | 1699 | lua_CFunction lua_getcfunction (lua_Object object); |
1700 | void *lua_getuserdata (lua_Object object); | 1700 | void *lua_getuserdata (lua_Object object); |
1701 | \end{verbatim} | 1701 | \end{verbatim} |
@@ -1765,7 +1765,7 @@ is done with the following functions: | |||
1765 | \Deffunc{lua_pushuserdata}\label{pushing} | 1765 | \Deffunc{lua_pushuserdata}\label{pushing} |
1766 | \begin{verbatim} | 1766 | \begin{verbatim} |
1767 | void lua_pushnumber (double n); | 1767 | void lua_pushnumber (double n); |
1768 | void lua_pushlstring (const char *s, long len); | 1768 | void lua_pushlstring (const char *s, size_t len); |
1769 | void lua_pushstring (const char *s); | 1769 | void lua_pushstring (const char *s); |
1770 | void lua_pushusertag (void *u, int tag); | 1770 | void lua_pushusertag (void *u, int tag); |
1771 | void lua_pushnil (void); | 1771 | void lua_pushnil (void); |
@@ -1864,7 +1864,7 @@ using the following functions:% | |||
1864 | \begin{verbatim} | 1864 | \begin{verbatim} |
1865 | int lua_dofile (const char *filename); | 1865 | int lua_dofile (const char *filename); |
1866 | int lua_dostring (const char *string); | 1866 | int lua_dostring (const char *string); |
1867 | int lua_dobuffer (const char *buff, int size, const char *name); | 1867 | int lua_dobuffer (const char *buff, size_t size, const char *name); |
1868 | \end{verbatim} | 1868 | \end{verbatim} |
1869 | All these functions return an error code: | 1869 | All these functions return an error code: |
1870 | 0, in case of success; non zero, in case of errors. | 1870 | 0, in case of success; non zero, in case of errors. |