Lua 5.2 Manual said that lua_objlen has been renamed to lua_rawlen.