Branch: Tag:

1999-12-14

1999-12-14 17:40:05 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

better type checking (I hope)

Rev: src/modules/files/file.c:1.163
Rev: src/modules/files/socket.c:1.44
Rev: src/program.c:1.185
Rev: src/program.h:1.70
Rev: src/program_id.h:1.1

5:   \*/      /* -  * $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
480:   #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
496:   #else   #define start_new_program() debug_start_new_program()   #endif +