diff options
| -rw-r--r-- | lua.h | 20 |
1 files changed, 10 insertions, 10 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.253 2009/12/11 13:40:44 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.254 2009/12/17 16:20:01 roberto Exp roberto $ |
| 3 | ** Lua - A Scripting Language | 3 | ** Lua - A Scripting Language |
| 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
| 5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
| @@ -95,6 +95,14 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize); | |||
| 95 | #define LUA_RIDX_LAST LUA_RIDX_CPCALL | 95 | #define LUA_RIDX_LAST LUA_RIDX_CPCALL |
| 96 | 96 | ||
| 97 | 97 | ||
| 98 | /* type of numbers in Lua */ | ||
| 99 | typedef LUA_NUMBER lua_Number; | ||
| 100 | |||
| 101 | |||
| 102 | /* type for integer functions */ | ||
| 103 | typedef LUA_INTEGER lua_Integer; | ||
| 104 | |||
| 105 | |||
| 98 | 106 | ||
| 99 | /* | 107 | /* |
| 100 | ** generic extra include file | 108 | ** generic extra include file |
| @@ -104,14 +112,6 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize); | |||
| 104 | #endif | 112 | #endif |
| 105 | 113 | ||
| 106 | 114 | ||
| 107 | /* type of numbers in Lua */ | ||
| 108 | typedef LUA_NUMBER lua_Number; | ||
| 109 | |||
| 110 | |||
| 111 | /* type for integer functions */ | ||
| 112 | typedef LUA_INTEGER lua_Integer; | ||
| 113 | |||
| 114 | |||
| 115 | 115 | ||
| 116 | /* | 116 | /* |
| 117 | ** state manipulation | 117 | ** state manipulation |
| @@ -123,7 +123,7 @@ LUA_API lua_State *(lua_newthread) (lua_State *L); | |||
| 123 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); | 123 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); |
| 124 | 124 | ||
| 125 | 125 | ||
| 126 | LUA_API const lua_Number *lua_version (lua_State *L); | 126 | LUA_API const lua_Number *(lua_version) (lua_State *L); |
| 127 | 127 | ||
| 128 | 128 | ||
| 129 | /* | 129 | /* |
