Ignore:
Timestamp:
01/12/17 14:41:17 (8 years ago)
Author:
epyon
Message:

CONTINUED:

  • getting rid of size_t
  • datatypes now restricted to uint32 size
  • 64-bit compatibility
  • copyright updates where modified
File:
1 edited

Legend:

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

    r533 r534  
    911911        if ( lua_type( state->get_raw(), index ) == LUA_TBOOLEAN )
    912912        {
    913                 *value = bool( lua_toboolean( state->get_raw(), index ) );
     913                *value = lua_toboolean( state->get_raw(), index ) != 0;
    914914                return true;
    915915        }
Note: See TracChangeset for help on using the changeset viewer.