git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9247a3b
)
set _UNDEFINED enum value to declared (.T) _null_
author
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 21 Aug 2008 08:19:47 +0000
(08:19 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Thu, 21 Aug 2008 08:19:47 +0000
(08:19 +0000)
org.glite.lb.common/interface/events.h.T
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/interface/events.h.T
b/org.glite.lb.common/interface/events.h.T
index
3602ac8
..
86f9de5
100644
(file)
--- a/
org.glite.lb.common/interface/events.h.T
+++ b/
org.glite.lb.common/interface/events.h.T
@@
-214,7
+214,8
@@
for my $t (sort { $event->{order}->{$a} <=> $event->{order}->{$b} }
*/
$enum \{
};
- gen $indent."EDG_WLL_${tu}UNDEFINED,\t/**< undefined code */ \n";
+ my $null = $f->{null} ? $f->{null} : 0;
+ gen $indent."EDG_WLL_${tu}UNDEFINED = $null,\t/**< undefined code */ \n";
for (@{$f->{codes}}) {
gen $indent."EDG_WLL_$tu$_->{name},\t/**< $_->{comment} */ \n";
}