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.497 2003/06/30 17:06:08 mast Exp $ + || $Id: builtin_functions.c,v 1.498 2003/08/02 01:08:43 mast Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.497 2003/06/30 17:06:08 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.498 2003/08/02 01:08:43 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"   #include "constants.h"   #include "mapping.h"   #include "stralloc.h"
pike.git/src/builtin_functions.c:7590:    tmp.inherit=INHERIT_FROM_INT(par->prog,parid);       find_external_context(&tmp, in->parent_offset-1);    ref_push_function(tmp.o,    in->parent_identifier +    tmp.inherit->identifier_level);    }    }    break;    -  case -17: +  case INHERIT_PARENT:    ref_push_function(in->parent, in->parent_identifier);    break;    -  case -18: +  case OBJECT_PARENT:    if(par)    {    ref_push_function(par, parid);    }else{    ref_push_program(in->prog);    }    break;    }    }else{    ref_push_program(in->prog);