summaryrefslogtreecommitdiff
path: root/mathlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'mathlib.c')
-rw-r--r--mathlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mathlib.c b/mathlib.c
index f0e84b98..4042834d 100644
--- a/mathlib.c
+++ b/mathlib.c
@@ -3,7 +3,7 @@
3** Mathematics library to LUA 3** Mathematics library to LUA
4*/ 4*/
5 5
6char *rcs_mathlib="$Id: mathlib.c,v 1.4 1994/10/11 13:06:47 celes Exp roberto $"; 6char *rcs_mathlib="$Id: mathlib.c,v 1.5 1994/11/17 19:43:34 roberto Exp roberto $";
7 7
8#include <stdio.h> /* NULL */ 8#include <stdio.h> /* NULL */
9#include <math.h> 9#include <math.h>
@@ -310,5 +310,5 @@ void mathlib_open (void)
310 lua_register ("exp", math_exp); 310 lua_register ("exp", math_exp);
311 lua_register ("deg", math_deg); 311 lua_register ("deg", math_deg);
312 lua_register ("rad", math_rad); 312 lua_register ("rad", math_rad);
313 old_pow = lua_lock(lua_setfallback("arith", math_pow)); 313 old_pow = lua_lockobject(lua_setfallback("arith", math_pow));
314} 314}