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.118 2002/04/18 09:33:38 grubba Exp $ +  * $Id: program.h,v 1.119 2002/05/06 14:35:33 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:170:    * char num_locals    * char code[]    */      #define ID_STATIC 0x01 /* Symbol is not visible by indexing */   #define ID_PRIVATE 0x02 /* Symbol is not visible by inherit */   #define ID_NOMASK 0x04 /* Symbol may not be overloaded */   #define ID_PUBLIC 0x08   #define ID_PROTECTED 0x10   #define ID_INLINE 0x20 - #define ID_HIDDEN 0x40 /* needed? */ + #define ID_HIDDEN 0x40 /* Symbol is locally hidden. Used e.g. +  * for static references like Foo::bar. */   #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_MODIFIER_MASK 0x07ff      #define ID_STRICT_TYPES 0x8000 /* #pragma strict_types */      struct reference
pike.git/src/program.h:334:   void add_relocated_int_to_program(INT32 i);   void use_module(struct svalue *s);   void unuse_modules(INT32 howmany);   struct node_s *find_module_identifier(struct pike_string *ident,    int see_inherit);   struct program *parent_compilation(int level);   struct program *id_to_program(INT32 id);   void optimize_program(struct program *p);   int program_function_index_compare(const void *a,const void *b);   char *find_program_name(struct program *p, INT32 *line); + int override_identifier (struct reference *ref, struct pike_string *name, int cur_id);   void fixate_program(void);   struct program *low_allocate_program(void);   void low_start_new_program(struct program *p,    struct pike_string *name,    int flags,    int *idp);   PMOD_EXPORT void debug_start_new_program(PROGRAM_LINE_ARGS);   PMOD_EXPORT void really_free_program(struct program *p);   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);   PMOD_EXPORT size_t low_add_storage(size_t size, size_t alignment,    ptrdiff_t modulo_orig);   PMOD_EXPORT void set_init_callback(void (*init)(struct object *));   PMOD_EXPORT void set_exit_callback(void (*exit)(struct object *));   PMOD_EXPORT void set_gc_recurse_callback(void (*m)(struct object *));   PMOD_EXPORT void set_gc_check_callback(void (*m)(struct object *));   int low_reference_inherited_identifier(struct program_state *q,