Branch: Tag:

2008-05-29

2008-05-29 10:11:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Object subtype indexing mega patch.
Added inherit_number argument to the high-level object indexing functions.
Subtyped objects should now be usable in many cases in Pike code.
Updated several modules to the new API.

Rev: src/builtin_functions.c:1.667
Rev: src/interpret.c:1.402
Rev: src/modules/HTTPLoop/requestobject.c:1.32
Rev: src/modules/Image/colors.c:1.76
Rev: src/modules/files/stat.c:1.33
Rev: src/object.c:1.294
Rev: src/object.h:1.97
Rev: src/operators.c:1.233
Rev: src/post_modules/SDL/SDL.cmod:1.30

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: operators.c,v 1.232 2008/05/21 21:13:04 mast Exp $ + || $Id: operators.c,v 1.233 2008/05/29 10:11:15 grubba Exp $   */      #include "global.h"
58:    break;       case T_OBJECT: -  object_index_no_free(to, what->u.object, ind); +  object_index_no_free(to, what->u.object, what->subtype, ind);    break;       case T_MULTISET: {