diff options
Diffstat (limited to 'mathlib.c')
| -rw-r--r-- | mathlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** Mathematics library to LUA | 3 | ** Mathematics library to LUA |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_mathlib="$Id: mathlib.c,v 1.14 1996/02/09 17:21:27 roberto Exp roberto $"; | 6 | char *rcs_mathlib="$Id: mathlib.c,v 1.15 1996/04/22 18:00:37 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <stdlib.h> | 8 | #include <stdlib.h> |
| 9 | #include <math.h> | 9 | #include <math.h> |
| @@ -104,7 +104,7 @@ static void math_sqrt (void) | |||
| 104 | lua_pushnumber (sqrt(d)); | 104 | lua_pushnumber (sqrt(d)); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | static lua_Reference old_pow; | 107 | static int old_pow; |
| 108 | 108 | ||
| 109 | static void math_pow (void) | 109 | static void math_pow (void) |
| 110 | { | 110 | { |
