From ef62b340e0a6b7b18931000dcbb19c4703bfe0e8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Wed, 24 May 2000 10:54:49 -0300 Subject: code cleaner for 16 bits. --- manual.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'manual.tex') diff --git a/manual.tex b/manual.tex index 80ed4504..3d098d32 100644 --- a/manual.tex +++ b/manual.tex @@ -1,4 +1,4 @@ -% $Id: manual.tex,v 1.37 2000/05/12 19:19:18 roberto Exp roberto $ +% $Id: manual.tex,v 1.38 2000/05/12 19:49:18 roberto Exp roberto $ \documentclass[11pt]{article} \usepackage{fullpage,bnf} @@ -122,7 +122,7 @@ Waldemar Celes \tecgraf\ --- Computer Science Department --- PUC-Rio } -\date{{\small \tt\$Date: 2000/05/12 19:19:18 $ $}} +\date{{\small \tt\$Date: 2000/05/12 19:49:18 $ $}} \maketitle @@ -1695,7 +1695,7 @@ you can use the following conversion functions: \begin{verbatim} double lua_getnumber (lua_Object object); const char *lua_getstring (lua_Object object); -long lua_strlen (lua_Object object); +size_t lua_strlen (lua_Object object); lua_CFunction lua_getcfunction (lua_Object object); void *lua_getuserdata (lua_Object object); \end{verbatim} @@ -1765,7 +1765,7 @@ is done with the following functions: \Deffunc{lua_pushuserdata}\label{pushing} \begin{verbatim} void lua_pushnumber (double n); -void lua_pushlstring (const char *s, long len); +void lua_pushlstring (const char *s, size_t len); void lua_pushstring (const char *s); void lua_pushusertag (void *u, int tag); void lua_pushnil (void); @@ -1864,7 +1864,7 @@ using the following functions:% \begin{verbatim} int lua_dofile (const char *filename); int lua_dostring (const char *string); -int lua_dobuffer (const char *buff, int size, const char *name); +int lua_dobuffer (const char *buff, size_t size, const char *name); \end{verbatim} All these functions return an error code: 0, in case of success; non zero, in case of errors. -- cgit v1.2.3-55-g6feb