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 as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: program.h,v 1.151 2002/01/16 02:54:19 nilsson Exp $ +  * $Id: program.h,v 1.152 2002/02/06 17:23:24 grubba 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:195:   #define ID_HIDDEN 0x40 /* needed? */   #define ID_INHERITED 0x80   #define ID_OPTIONAL 0x100 /* Symbol is not required by the interface */   #define ID_EXTERN 0x200 /* Symbol is defined later */   #define ID_VARIANT 0x400 /* Function is overloaded by argument. */   #define ID_ALIAS 0x800 /* Variable is an overloaded alias. */      #define ID_MODIFIER_MASK 0x0fff      #define ID_STRICT_TYPES 0x8000 /* #pragma strict_types */ - #define ID_SAVE_PARENT 0x10000 /* pragma save_parent */ + #define ID_SAVE_PARENT 0x10000 /* #pragma save_parent */         /*    * All identifiers in this program    * and all identifiers in inherited programs    * needs to have a 'struct reference' in this    * program. When we overload a function, we simply    * change the reference to point to the new 'struct identifier'.    */   struct reference
pike.git/src/program.h:274:      /* Self explanatory, automatically detected */   #define PROGRAM_HAS_C_METHODS 0x20      /* Objects created from this program are constant and shareable */   #define PROGRAM_CONSTANT 0x40      /* */   #define PROGRAM_USES_PARENT 0x80    - /* Objects should not be destructed even when they only has weak + /* Objects should not be destructed even when they only have weak    * references left. */   #define PROGRAM_NO_WEAK_FREE 0x100      /* Objects should not be destructed by f_destruct(). */   #define PROGRAM_NO_EXPLICIT_DESTRUCT 0x200      /* Program is in an inconsistant state */   #define PROGRAM_AVOID_CHECK 0x400      /* Program has not yet been used for compilation */
pike.git/src/program.h:529:   PMOD_EXPORT int add_program_constant(char *name,    struct program *p,    INT32 flags);   PMOD_EXPORT int add_object_constant(char *name,    struct object *o,    INT32 flags);   PMOD_EXPORT int add_function_constant(char *name, void (*cfun)(INT32), char * type, INT16 flags);   PMOD_EXPORT int debug_end_class(char *name, ptrdiff_t namelen, INT32 flags);   INT32 define_function(struct pike_string *name,    struct pike_type *type, -  unsigned INT8 flags, +  unsigned INT16 flags,    unsigned INT8 function_flags,    union idptr *func,    unsigned INT16 opt_flags);   int really_low_find_shared_string_identifier(struct pike_string *name,    struct program *prog,    int flags);   int low_find_lfun(struct program *p, ptrdiff_t lfun);   int lfun_lookup_id(struct pike_string *lfun_name);   int low_find_shared_string_identifier(struct pike_string *name,    struct program *prog);