diff options
Diffstat (limited to 'lobject.c')
| -rw-r--r-- | lobject.c | 8 |
1 files changed, 2 insertions, 6 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.c,v 1.99 2003/06/10 12:36:26 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ |
| 3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -10,6 +10,7 @@ | |||
| 10 | #include <string.h> | 10 | #include <string.h> |
| 11 | 11 | ||
| 12 | #define lobject_c | 12 | #define lobject_c |
| 13 | #define LUA_CORE | ||
| 13 | 14 | ||
| 14 | #include "lua.h" | 15 | #include "lua.h" |
| 15 | 16 | ||
| @@ -21,11 +22,6 @@ | |||
| 21 | #include "lvm.h" | 22 | #include "lvm.h" |
| 22 | 23 | ||
| 23 | 24 | ||
| 24 | /* function to convert a string to a lua_Number */ | ||
| 25 | #ifndef lua_str2number | ||
| 26 | #define lua_str2number(s,p) strtod((s), (p)) | ||
| 27 | #endif | ||
| 28 | |||
| 29 | 25 | ||
| 30 | const TValue luaO_nilobject = {LUA_TNIL, {NULL}}; | 26 | const TValue luaO_nilobject = {LUA_TNIL, {NULL}}; |
| 31 | 27 | ||
