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.178 2003/12/03 09:36:36 grubba Exp $ + || $Id: program.h,v 1.179 2004/03/13 13:22:40 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"
pike.git/src/program.h:19:      #define STRUCT   #include "compilation.h"      #define EXTERN   #include "compilation.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:427:         #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,NAME) void PIKE_CONCAT(add_to_,NAME(TYPE 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;
pike.git/src/program.h:472:   struct program *id_to_program(INT32 id);   void optimize_program(struct program *p);   void fsort_program_identifier_index(unsigned short *start,    unsigned short *end,    struct program *p);   struct pike_string *find_program_name(struct program *p, INT32 *line);   int override_identifier (struct reference *ref, struct pike_string *name);   void fixate_program(void);   struct program *low_allocate_program(void);   void low_start_new_program(struct program *p, +  int pass,    struct pike_string *name,    int flags,    int *idp);   PMOD_EXPORT void debug_start_new_program(int line, const char *file);   void dump_program_desc(struct program *p);   int sizeof_variable(int run_time_type);   void dump_program_tables (struct program *p, int indent);   void check_program(struct program *p);   struct program *end_first_pass(int finish);   PMOD_EXPORT struct program *debug_end_program(void);