aboutsummaryrefslogtreecommitdiff
path: root/manual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'manual.tex')
-rw-r--r--manual.tex10
1 files changed, 5 insertions, 5 deletions
diff --git a/manual.tex b/manual.tex
index 80ed4504..3d098d32 100644
--- a/manual.tex
+++ b/manual.tex
@@ -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}
1696double lua_getnumber (lua_Object object); 1696double lua_getnumber (lua_Object object);
1697const char *lua_getstring (lua_Object object); 1697const char *lua_getstring (lua_Object object);
1698long lua_strlen (lua_Object object); 1698size_t lua_strlen (lua_Object object);
1699lua_CFunction lua_getcfunction (lua_Object object); 1699lua_CFunction lua_getcfunction (lua_Object object);
1700void *lua_getuserdata (lua_Object object); 1700void *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}
1767void lua_pushnumber (double n); 1767void lua_pushnumber (double n);
1768void lua_pushlstring (const char *s, long len); 1768void lua_pushlstring (const char *s, size_t len);
1769void lua_pushstring (const char *s); 1769void lua_pushstring (const char *s);
1770void lua_pushusertag (void *u, int tag); 1770void lua_pushusertag (void *u, int tag);
1771void lua_pushnil (void); 1771void lua_pushnil (void);
@@ -1864,7 +1864,7 @@ using the following functions:%
1864\begin{verbatim} 1864\begin{verbatim}
1865int lua_dofile (const char *filename); 1865int lua_dofile (const char *filename);
1866int lua_dostring (const char *string); 1866int lua_dostring (const char *string);
1867int lua_dobuffer (const char *buff, int size, const char *name); 1867int lua_dobuffer (const char *buff, size_t size, const char *name);
1868\end{verbatim} 1868\end{verbatim}
1869All these functions return an error code: 1869All these functions return an error code:
18700, in case of success; non zero, in case of errors. 18700, in case of success; non zero, in case of errors.