pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: program.h,v 1.104 2000/08/15 15:53:10 grubba Exp $ +  * $Id: program.h,v 1.105 2000/08/24 04:04:42 hubbe Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_types.h"   #include "pike_macros.h"   #include "svalue.h"   #include "time_stuff.h"
pike.git/src/program.h:187:      #define ID_STRICT_TYPES 0x8000 /* #pragma strict_types */      struct reference   {    unsigned INT16 inherit_offset;    unsigned INT16 identifier_offset;    INT16 id_flags; /* static, private etc.. */   };    -  +    struct inherit   { -  INT16 inherit_level; /* really needed? */ +  INT16 inherit_level;    INT16 identifier_level;    INT16 parent_identifier;    INT16 parent_offset;    ptrdiff_t storage_offset;    struct object *parent;    struct program *prog;    struct pike_string *name;   };      struct pike_trampoline
pike.git/src/program.h:253:   #define PROGRAM_AVOID_CHECK 512         struct program   {    INT32 refs;   #ifdef PIKE_SECURITY    struct object *prot;   #endif    INT32 id; /* used to identify program in caches */ +  INT32 parent_program_id;    /* storage_needed - storage needed in object struct    * the first inherit[0].storage_offset bytes are not used and are    * subtracted when inheriting.    */    ptrdiff_t storage_needed; /* storage needed in the object struct */    INT16 flags; /* PROGRAM_* */    unsigned INT8 alignment_needed;    struct timeval timestamp;       struct program *next;