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.122 2001/03/29 02:54:10 per Exp $ +  * $Id: program.h,v 1.123 2001/04/07 07:38:25 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:262:   {    PROG_EVENT_INIT =0,    PROG_EVENT_EXIT,    PROG_EVENT_GC_RECURSE,    PROG_EVENT_GC_CHECK,    NUM_PROG_EVENTS,   };      struct program   { -  INT32 refs; - #ifdef PIKE_SECURITY -  struct object *prot; - #endif +  PIKE_MEMORY_OBJECT_MEMBERS; /* Must be first */ +     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;