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.147 2001/11/08 23:34:30 nilsson Exp $ +  * $Id: program.h,v 1.148 2001/12/13 11:05:57 mast 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:396:         #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)      #define FOO(NUMTYPE,TYPE,NAME) void PIKE_CONCAT(add_to_,NAME(TYPE ARG));   #include "program_areas.h"    -  + typedef int supporter_callback (void *, int);   struct Supporter   {   #ifdef PIKE_DEBUG    int magic;   #endif    struct Supporter *previous;    struct Supporter *depends_on;    struct Supporter *dependants;    struct Supporter *next_dependant; -  void (*fun)(void *); +  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 use_module(struct svalue *s);
pike.git/src/program.h:559:    INT32 *linep);   char *debug_get_program_line(struct program *prog,    INT32 *linep);   PMOD_EXPORT struct pike_string *get_line(PIKE_OPCODE_T *pc,    struct program *prog, INT32 *linep);   void my_yyerror(char *fmt,...) ATTRIBUTE((format(printf,1,2)));   void yy_describe_exception(struct svalue *thrown);   struct supporter_marker;   void verify_supporters();   void init_supporter(struct Supporter *s, -  void (*fun)(void *), +  supporter_callback *fun,    void *data);   int unlink_current_supporter(struct Supporter *c); - void call_dependants(struct Supporter *s); + int call_dependants(struct Supporter *s, int finish);   int report_compiler_dependency(struct program *p);   struct compilation;   void run_pass2(struct compilation *c);   struct program *compile(struct pike_string *aprog,    struct object *ahandler,    int amajor, int aminor,    struct program *atarget,    struct object *aplaceholder);   PMOD_EXPORT int pike_add_function2(char *name, void (*cfun)(INT32),    char *type, unsigned INT8 flags,