pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.c:1:   /*   || 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: builtin_functions.c,v 1.666 2008/05/28 18:55:50 grubba Exp $ + || $Id: builtin_functions.c,v 1.667 2008/05/29 10:11:14 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin_functions.c:2917:       case T_MAPPING:    a=mapping_indices(Pike_sp[-args].u.mapping);    break;       case T_MULTISET:    a = multiset_indices (Pike_sp[-args].u.multiset);    break;       case T_OBJECT: -  /* FIXME: Object subtype! */ -  a=object_indices(Pike_sp[-args].u.object); +  a=object_indices(Pike_sp[-args].u.object, Pike_sp[-args].subtype);    break;       case T_PROGRAM:    a = program_indices(Pike_sp[-args].u.program);    break;       case T_FUNCTION:    {    struct program *p = program_from_svalue(Pike_sp-args);    if (p) {
pike.git/src/builtin_functions.c:3216:       case T_MAPPING:    a=mapping_values(Pike_sp[-args].u.mapping);    break;       case T_MULTISET:    a = multiset_values (Pike_sp[-args].u.multiset);    break;       case T_OBJECT: -  /* FIXME: Object subtype! */ -  a=object_values(Pike_sp[-args].u.object); +  a=object_values(Pike_sp[-args].u.object, Pike_sp[-args].subtype);    break;       case T_PROGRAM:    a = program_values(Pike_sp[-args].u.program);    break;       case T_FUNCTION:    {    struct program *p = program_from_svalue(Pike_sp - args);    if (p) {