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 under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.h,v 1.199 2004/03/10 18:08:12 grubba Exp $ + || $Id: program.h,v 1.200 2004/03/13 14:45:06 grubba Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"   #include "time_stuff.h"   #include "program_id.h"   #include "block_alloc_h.h"      /* Needed to support dynamic loading on NT */   PMOD_PROTO extern struct program_state * Pike_compiler;    -  + /* Compilation flags */ + #define COMPILATION_CHECK_FINAL 0x01 +  /* This flag is set when resolve functions should force the lookup so +  * that we don't get a placeholder back. Used for inherits. */ + #define COMPILATION_FORCE_RESOLVE 0x02 +    extern struct pike_string *this_program_string;      #define LFUN___INIT 0   #define LFUN_CREATE 1   #define LFUN_DESTROY 2   #define LFUN_ADD 3   #define LFUN_SUBTRACT 4   #define LFUN_AND 5   #define LFUN_OR 6   #define LFUN_XOR 7
pike.git/src/program.h:558:         #define COMPILER_IN_CATCH 1      #define ADD_STORAGE(X) low_add_storage(sizeof(X), ALIGNOF(X),0)   #define STORAGE_NEEDED(X) ((X)->storage_needed - (X)->inherits[0].storage_offset)      #define FOO(NUMTYPE,TYPE,ARGTYPE,NAME) void PIKE_CONCAT(add_to_,NAME(ARGTYPE ARG));   #include "program_areas.h"    - /* This flag is set when resolve functions should force the lookup so -  * that we don't get a placeholder back. Used for inherits. */ - extern int force_resolve; -  +    typedef int supporter_callback (void *, int);   struct Supporter   {   #ifdef PIKE_DEBUG    int magic;   #endif    struct Supporter *previous;    struct Supporter *depends_on;    struct Supporter *dependants;    struct Supporter *next_dependant;