[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: 5.2.0: lua_arith signature in manual incorrect
- From: "Andrew Tomazos" <at5179@...>
- Date: Sat, 18 Feb 2012 04:16:31 +0100
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