lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The lua_arith signature in 5.2.0.tar.gz/doc/manual.html has an incorrect
return value "int".  Should be "void".  Patch below.
    -Andrew.

diff --git a/doc/manual.html b/doc/manual.html
index 360d316..1ecad95 100644
--- a/doc/manual.html
+++ b/doc/manual.html
@@ -2922,7 +2922,7 @@ it seems to be a safe assumption.)

 <hr><h3><a name="lua_arith"><code>lua_arith</code></a></h3><p>
 <span class="apii">[-(2|1), +1, <em>e</em>]</span>
-<pre>int lua_arith (lua_State *L, int op);</pre>
+<pre>void lua_arith (lua_State *L, int op);</pre>

 <p>
 Performs an arithmetic operation over the two values