Changeset 172 for trunk/src/lib/lua.cc


Ignore:
Timestamp:
07/25/13 14:37:24 (12 years ago)
Author:
epyon
Message:
  • sdl - missing 2.0 sdl_functions
  • lua - compat implementation of lua_upvalueindex
  • position - rectangle single argument constructor made explicit
  • gl_window - fix for SDL 2.0 ascii code of key press
  • lua/glm - coord as a separate class (behaves like ivec2)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lua.cc

    r166 r172  
    4545#       include <nv/lib/detail/lua_functions_compat.inc>
    4646#       undef NV_LUA_COMPAT_FUN
     47int LUA_UPVALUEINDEX  = 0;
    4748int LUA_REGISTRYINDEX = 0;
    4849int LUA_VERSION_NUM   = 0;
     
    266267                NV_LUA_LOAD( luaL_getsubtable );
    267268
     269                LUA_UPVALUEINDEX  = LUA_REGISTRYINDEX_52;
    268270                LUA_REGISTRYINDEX = LUA_REGISTRYINDEX_52;
    269271                LUA_VERSION_NUM   = 502;
     
    292294                NV_LUA_LOAD( lua_equal );
    293295                lua_compare       = lua_compare_51;
     296                LUA_UPVALUEINDEX  = LUA_GLOBALSINDEX_51;
    294297                LUA_REGISTRYINDEX = LUA_REGISTRYINDEX_51;
    295298                LUA_VERSION_NUM   = 501;
Note: See TracChangeset for help on using the changeset viewer.