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.63 1999/10/29 00:09:48 hubbe Exp $ +  * $Id: program.h,v 1.64 1999/10/29 03:34:34 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"   #include "time_stuff.h"
pike.git/src/program.h:211:      /* Self explanatory, automatically detected */   #define PROGRAM_HAS_C_METHODS 32      /* All non-static functions are inlinable */   #define PROGRAM_CONSTANT 64      /* */   #define PROGRAM_USES_PARENT 128    + /* Objects should not be destructed even when they only has weak +  * references left. */ + #define PROGRAM_NO_WEAK_DESTRUCT 256 +  + /* Objects should not be destructed by f_destruct(). */ + #define PROGRAM_NO_EXPLICIT_DESTRUCT 512 +    struct program   {    INT32 refs;   #ifdef PIKE_SECURITY    struct object *prot;   #endif    INT32 id; /* used to identify program in caches */    /* storage_needed - storage needed in object struct    * the first inherit[0].storage_offset bytes are not used and are    * subtracted when inheriting.