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.36 1998/04/06 04:31:32 hubbe Exp $ +  * $Id: program.h,v 1.37 1998/04/08 01:00:58 hubbe Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_types.h"   #include "svalue.h"      #define LFUN___INIT 0
pike.git/src/program.h:215:   #define PROG_FROM_PTR(P,X) (INHERIT_FROM_PTR(P,X)->prog)   #define ID_FROM_PTR(P,X) (PROG_FROM_PTR(P,X)->identifiers+(X)->identifier_offset)   #define INHERIT_FROM_INT(P,X) INHERIT_FROM_PTR(P,(P)->identifier_references+(X))   #define PROG_FROM_INT(P,X) PROG_FROM_PTR(P,(P)->identifier_references+(X))   #define ID_FROM_INT(P,X) ID_FROM_PTR(P,(P)->identifier_references+(X))      #define FIND_LFUN(P,N) ((P)->flags & PROGRAM_FIXED?(P)->lfuns[(N)]:find_identifier(lfun_names[(N)],(P)))      #define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!--_->refs) really_free_program(_); }while(0)    +    extern struct object *fake_object;   extern struct program *new_program;   extern struct program *first_program;   extern int compiler_pass;   extern long local_class_counter;   extern int catch_level;      #define COMPILER_IN_CATCH 1      #define FOO(NUMTYPE,TYPE,NAME) void PIKE_CONCAT(add_to_,NAME(TYPE ARG));
pike.git/src/program.h:245:   void fixate_program(void);   void low_start_new_program(struct program *p,    struct pike_string *name,    int flags);   void start_new_program(void);   void really_free_program(struct program *p);   void dump_program_desc(struct program *p);   void check_program(struct program *p);   struct program *end_first_pass(int finish);   struct program *debug_end_program(void); - SIZE_T add_storage(SIZE_T size); + SIZE_T low_add_storage(SIZE_T size, SIZE_T alignment); + SIZE_T add_storage(SIZE_T storage);   void set_init_callback(void (*init)(struct object *));   void set_exit_callback(void (*exit)(struct object *));   void set_gc_mark_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);   node *reference_inherited_identifier(struct pike_string *super_name,    struct pike_string *function_name);   void rename_last_inherit(struct pike_string *n);