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.119 2001/03/12 23:46:22 hubbe Exp $ +  * $Id: program.h,v 1.120 2001/03/20 02:45:51 hubbe 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:209:    struct pike_string *name;   };      struct pike_trampoline   {    struct pike_frame *frame;    INT32 func;   };       +    /* program parts have been realloced into one block */   #define PROGRAM_OPTIMIZED 1      /* program has gone through pass 1 of compiler, prototypes etc. will    * not change from now on    */   #define PROGRAM_FIXED 2      /* Program is done and can be cloned */   #define PROGRAM_FINISHED 4
pike.git/src/program.h:247:   /* Objects should not be destructed even when they only has weak    * references left. */   #define PROGRAM_NO_WEAK_FREE 256      /* Objects should not be destructed by f_destruct(). */   #define PROGRAM_NO_EXPLICIT_DESTRUCT 512      /* Program is in an inconsistant state */   #define PROGRAM_AVOID_CHECK 512    + /* Program has not yet been used for compilation */ + #define PROGRAM_VIRGIN 1024 +    enum pike_program_event   {    PROG_EVENT_INIT =0,    PROG_EVENT_EXIT,    PROG_EVENT_GC_RECURSE,    PROG_EVENT_GC_CHECK,    NUM_PROG_EVENTS,   };      struct program
pike.git/src/program.h:468:   void program_index_no_free(struct svalue *to, struct program *p,    struct svalue *ind);   int get_small_number(char **q);   void start_line_numbering(void);   void store_linenumber(INT32 current_line, struct pike_string *current_file);   PMOD_EXPORT char *get_line(unsigned char *pc,struct program *prog,INT32 *linep);   void my_yyerror(char *fmt,...) ATTRIBUTE((format(printf,1,2)));   struct program *compile(struct pike_string *prog,    struct object *handler,    int major, -  int minor); +  int minor, +  struct program *target, +  struct object *placeholder);   PMOD_EXPORT int pike_add_function2(char *name, void (*cfun)(INT32),    char *type, unsigned INT8 flags,    unsigned INT16 opt_flags);   PMOD_EXPORT int quick_add_function(char *name,    int name_length,    void (*cfun)(INT32),    char *type,    int type_length,    unsigned INT8 flags,    unsigned INT16 opt_flags);