renamed host.is_64bit to host.is64bit

renamed host.windows_version to host.windowsversion
This commit is contained in:
Liam Devine 2011-03-12 21:11:59 +00:00
parent c68dd29153
commit 48fdd10f4d
3 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,8 @@
* Patch 2963313: Enable setting .NET framework version (Justen Hyde) * Patch 2963313: Enable setting .NET framework version (Justen Hyde)
* Switched PS3 builds from GCC to SNC * Switched PS3 builds from GCC to SNC
* Ignore NoRTTI flag for Managed C++ projects (Nick Darnell) * Ignore NoRTTI flag for Managed C++ projects (Nick Darnell)
* Added host.is_64bit * Added host.is64bit
* Added host.windowsversion
------- -------

View File

@ -51,7 +51,7 @@ local function macosx_is_64_bit()
return false return false
end end
host.is_64bit = function() host.is64bit = function()
local host_os = _OS local host_os = _OS
if host_os == 'linux' or host_os == 'bsd' or host_os == 'solaris' or host_os == 'haiku' then if host_os == 'linux' or host_os == 'bsd' or host_os == 'solaris' or host_os == 'haiku' then

View File

@ -59,7 +59,7 @@ static const luaL_Reg string_functions[] = {
static const luaL_Reg host_functions[] = static const luaL_Reg host_functions[] =
{ {
{ "windows_is_64bit_running_under_wow", windows_is_64bit_running_under_wow }, { "windows_is_64bit_running_under_wow", windows_is_64bit_running_under_wow },
{ "windows_version",windows_version}, { "windowsversion",windows_version},
{ NULL, NULL } { NULL, NULL }
}; };