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.69 1999/12/13 12:08:13 mast Exp $ +  * $Id: program.h,v 1.70 1999/12/14 17:40:00 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:473:    DTYPE_END(_t); \    quick_add_function(NAME,CONSTANT_STRLEN(NAME),FUN,_t->str,_t->len,FLAGS,0); \    free_string(_t); \    } \   } while (0)      #ifndef NO_PIKE_SHORTHAND   #define add_function pike_add_function   #endif    + #define START_NEW_PROGRAM_ID(ID) do { \ +  start_new_program(); \ +  new_program->id=PIKE_CONCAT3(PROG_,ID,_ID); \ +  }while(0) +  +    #endif /* PROGRAM_H */      #ifdef DEBUG_MALLOC   #define end_program() ((struct program *)debug_malloc_pass(debug_end_program()))   #define end_class(NAME, FLAGS) do { debug_malloc_touch(new_program); debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS); }while(0)   #else   #define end_class(NAME,FLAGS) debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS)   #define end_program debug_end_program   #endif         #ifdef PIKE_DEBUG   #define start_new_program() debug_start_new_program(__LINE__,__FILE__)   #else   #define start_new_program() debug_start_new_program()   #endif -  +