diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-26 17:32:19 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-10-26 17:32:19 -0200 |
commit | 6098e06e09e82409710c52eeaefb11395345e194 (patch) | |
tree | b21a71f26d4a2c88c207fc2b1f7b2b125f88e1a5 /lua.h | |
parent | c6b64ffe65549b179bfa565e8329430857e335ee (diff) | |
download | lua-6098e06e09e82409710c52eeaefb11395345e194.tar.gz lua-6098e06e09e82409710c52eeaefb11395345e194.tar.bz2 lua-6098e06e09e82409710c52eeaefb11395345e194.zip |
better organization for coercion functions between lua_Number and
integer types + IEEE trick to be used in most platforms, by default
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.274 2010/09/03 14:14:01 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.275 2010/10/25 20:31:11 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 |
@@ -107,7 +107,7 @@ typedef LUA_NUMBER lua_Number; | |||
107 | typedef LUA_INTEGER lua_Integer; | 107 | typedef LUA_INTEGER lua_Integer; |
108 | 108 | ||
109 | /* unsigned integer type */ | 109 | /* unsigned integer type */ |
110 | typedef unsigned LUA_INT32 lua_Unsigned; | 110 | typedef LUA_UNSIGNED lua_Unsigned; |
111 | 111 | ||
112 | 112 | ||
113 | 113 | ||