pike.git / src / program.h

version» Context lines:

pike.git/src/program.h: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: program.h,v 1.175 2003/03/20 18:02:57 mast Exp $ + || $Id: program.h,v 1.176 2003/08/18 15:11:38 mast Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_types.h"   #include "pike_macros.h"   #include "svalue.h"
pike.git/src/program.h:231:    * program. When we overload a function, we simply    * change the reference to point to the new 'struct identifier'.    */   struct reference   {    unsigned INT16 inherit_offset;    unsigned INT16 identifier_offset;    INT16 id_flags; /* static, private etc.. */   };    + /* Magic value used as identifier reference integer to refer to this. */ + #define IDREF_MAGIC_THIS -1 +    /*    * Each program has an array of these,    * the first entry points to itself, the    * rest are from inherited programs.    * Note that when a program is inherited,    * all 'struct inherit' from that program is    * copied, so the whole tree of inherits is    * represented.    */   struct inherit