Branch: Tag:

2000-03-13

2000-03-13 19:57:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added ADD_PROTOTYPE().

Rev: src/program.h:1.82

5:   \*/      /* -  * $Id: program.h,v 1.81 2000/03/07 08:13:18 hubbe Exp $ +  * $Id: program.h,v 1.82 2000/03/13 19:57:27 grubba Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
473:   #define ADD_FUNCTION(NAME,FUNC,TYPE,FLAGS) \    quick_add_function(NAME,CONSTANT_STRLEN(NAME),FUNC,TYPE,CONSTANT_STRLEN(TYPE),FLAGS,0)    + #define ADD_PROTOTYPE(NAME,TYPE,FLAGS) \ +  quick_add_function(NAME,CONSTANT_STRLEN(NAME),0,TYPE,CONSTANT_STRLEN(TYPE),FLAGS,0) +    #define ADD_INT_CONSTANT(NAME,CONST,FLAGS) \    quick_add_integer_constant(NAME,CONSTANT_STRLEN(NAME),CONST,FLAGS)