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.264 2009/06/22 12:07:04 grubba Exp $ + || $Id: program.h,v 1.265 2009/06/22 12:08:51 grubba Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"   #include "dmalloc.h"
pike.git/src/program.h:622:    INT16 lfuns[NUM_LFUNS];      #ifdef WITH_FACETS    /* Facet related stuff */    INT16 facet_class; /* PROGRAM_IS_X_CLASS (X=FACET/PRODUCT) */    INT32 facet_index; /* Index to the facet this facet class belongs to */    struct object *facet_group;   #endif   };    - void dump_program_tables (struct program *p, int indent); + void dump_program_tables (const struct program *p, int indent);   #ifdef PIKE_DEBUG   static INLINE int CHECK_IDREF_RANGE (int x, const struct program *p)   {    if (x < 0 || x >= p->num_identifier_references) {    dump_program_tables(p, 4);    debug_fatal ("Identifier reference index %d out of range 0..%d\n", x,    p->num_identifier_references - 1);    }    return x;   }