1999-12-14
1999-12-14 19:51:19 by Martin Stjernholm <mast@lysator.liu.se>
-
25c16b54943bce736ec3f33bb70eefdc035458d4
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 7.9
Made the end_class macro always of expression type.
Rev: src/program.h:1.71
5:
\*/
/*
- * $Id: program.h,v 1.70 1999/12/14 17:40:00 hubbe Exp $
+ * $Id: program.h,v 1.71 1999/12/14 19:51:19 mast Exp $
*/
#ifndef PROGRAM_H
#define PROGRAM_H
490: Inside #if defined(DEBUG_MALLOC)
#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)
+ #define end_class(NAME, FLAGS) (debug_malloc_touch(new_program), debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS))
#else
#define end_class(NAME,FLAGS) debug_end_class(NAME, CONSTANT_STRLEN(NAME), FLAGS)
#define end_program debug_end_program