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.158 2002/05/09 14:37:46 mast Exp $ +  * $Id: program.h,v 1.159 2002/05/10 15:31:43 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:245:    * all 'struct inherit' from that program is    * copied, so the whole tree of inherits is    * represented.    */   struct inherit   {    INT16 inherit_level;    INT16 identifier_level;    INT16 parent_identifier;    INT16 parent_offset; +  size_t identifier_ref_offset;    ptrdiff_t storage_offset;    struct object *parent;    struct program *prog;    struct pike_string *name;   };         /*    * Storage struct for a trampoline object    * (not a part of the program type)
pike.git/src/program.h:441:    supporter_callback *fun;    void *data;    struct program *prog;   };            /* Prototypes begin here */   void ins_int(INT32 i, void (*func)(char tmp));   void ins_short(INT16 i, void (*func)(char tmp)); + 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 node_s *resolve_identifier(struct pike_string *ident);   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);   struct pike_string *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);   void dump_program_desc(struct program *p);   int sizeof_variable(int run_time_type);   void dump_program_tables (struct program *p, int indent);