pike.git/
src/
pike_macros.h
Branch:
Tag:
Non-build tags
All tags
No tags
2000-04-08
2000-04-08 01:09:56 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
fccf996e970db295202293969d380780b8651645 (
22
lines) (+
12
/-
10
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix
Rev: src/main.c:1.88
Rev: src/pike_macros.h:1.14
5:
\*/ /*
-
* $Id: pike_macros.h,v 1.
13
2000/04/
06
20
:
17
:
05
hubbe Exp $
+
* $Id: pike_macros.h,v 1.
14
2000/04/
08
01
:
09
:
33
hubbe Exp $
*/ #ifndef MACROS_H #define MACROS_H
63:
#define CONSTANT_STRLEN(X) (sizeof(X) - sizeof("")) #define SET_NEXT_AND_FREE(p,free_program) do{ \
-
while((
next=p->next
)
&&
p->refs == 1) \
+
next=p->next
;
\
+
while(
p->refs == 1
&& (next=p->next
)
)
\
{ \ add_ref(next); \
-
free_program(p); \
+
free_program(p);
\
p=next; \ } \
-
free_program(p); \
+
free_program(p);
\
}while(0) #endif