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.101 2000/08/14 20:09:58 grubba Exp $ +  * $Id: program.h,v 1.102 2000/08/14 20:19:20 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:194:    INT16 id_flags; /* static, private etc.. */   };         struct inherit   {    INT16 inherit_level; /* really needed? */    INT16 identifier_level;    INT16 parent_identifier;    INT16 parent_offset; -  INT32 storage_offset; +  ptrdiff_t storage_offset;    struct object *parent;    struct program *prog;    struct pike_string *name;   };      struct pike_trampoline   {    struct pike_frame *frame;    INT32 func;   };
pike.git/src/program.h:257:   {    INT32 refs;   #ifdef PIKE_SECURITY    struct object *prot;   #endif    INT32 id; /* used to identify program in caches */    /* storage_needed - storage needed in object struct    * the first inherit[0].storage_offset bytes are not used and are    * subtracted when inheriting.    */ -  INT32 storage_needed; /* storage needed in the object struct */ +  ptrdiff_t storage_needed; /* storage needed in the object struct */    INT16 flags; /* PROGRAM_* */    unsigned INT8 alignment_needed;    struct timeval timestamp;       struct program *next;    struct program *prev;       void (*init)(struct object *);    void (*exit)(struct object *);    void (*gc_recurse_func)(struct object *);
pike.git/src/program.h:345:    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 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, int modulo_orig); + 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,    int e,    struct pike_string *name,    int flags);   int find_inherit(struct program *p, struct pike_string *name);   node *reference_inherited_identifier(struct pike_string *super_name,