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.92 2000/06/24 00:48:13 hubbe Exp $ +  * $Id: program.h,v 1.93 2000/06/26 16:43:09 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:301:      #define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!--_->refs) really_free_program(_); }while(0)         extern struct object *error_handler;      extern struct program *first_program;   extern struct program *pike_trampoline_program;   extern struct program *gc_internal_program;    + extern int compilation_depth; +    /* Flags for identifier finding... */   #define SEE_STATIC 1   #define SEE_PRIVATE 2         #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)   
pike.git/src/program.h:346:   struct program *debug_end_program(void);   SIZE_T low_add_storage(SIZE_T size, SIZE_T alignment, int modulo_orig);   void set_init_callback(void (*init)(struct object *));   void set_exit_callback(void (*exit)(struct object *));   void set_gc_recurse_callback(void (*m)(struct object *));   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,    struct pike_string *function_name);   void rename_last_inherit(struct pike_string *n);   void low_inherit(struct program *p,    struct object *parent,    int parent_identifier,    int parent_offset,    INT32 flags,    struct pike_string *name);   void do_inherit(struct svalue *s,