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.55 1999/08/20 05:08:26 hubbe Exp $ +  * $Id: program.h,v 1.56 1999/09/06 11:13:21 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:113:   };      #define IDENTIFIER_PIKE_FUNCTION 1   #define IDENTIFIER_C_FUNCTION 2   #define IDENTIFIER_FUNCTION 3   #define IDENTIFIER_CONSTANT 4   #define IDENTIFIER_VARARGS 8   #define IDENTIFIER_PROTOTYPED 16      #define IDENTIFIER_IS_FUNCTION(X) ((X) & IDENTIFIER_FUNCTION) + #define IDENTIFIER_IS_PIKE_FUNCTION(X) ((X) & IDENTIFIER_PIKE_FUNCTION)   #define IDENTIFIER_IS_CONSTANT(X) ((X) & IDENTIFIER_CONSTANT)   #define IDENTIFIER_IS_VARIABLE(X) (!((X) & (IDENTIFIER_FUNCTION | IDENTIFIER_CONSTANT)))      struct identifier   {    struct pike_string *name;    struct pike_string *type;    unsigned INT16 identifier_flags; /* IDENTIFIER_??? */    unsigned INT16 run_time_type;   #ifdef PROFILING
pike.git/src/program.h:188:   #define PROGRAM_PASS_1_DONE 8      /* Program will be destructed as soon at it runs out of references.    * Normally only used for mutex lock keys and similar    */   #define PROGRAM_DESTRUCT_IMMEDIATE 16      /* 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 +    struct program   {    INT32 refs;   #ifdef PIKE_SECURITY    struct object *prot;   #endif    INT32 id; /* used to identify program in caches */    INT32 flags; /* PROGRAM_* */    INT32 storage_needed; /* storage needed in the object struct */    unsigned INT8 alignment_needed;