annotate loader/debug.h @ 25661:293aeec83153

Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" with an almost-trivial implementation. This allows making the builtin codec structs const, and it also makes clearer that this "selected" status is not used outside the init functions.
author reimar
date Sat, 12 Jan 2008 14:05:46 +0000
parents 6ac1ece1f9fe
children a8ea87c71d18
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21261
diff changeset
1 #ifndef DEBUG_H
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21261
diff changeset
2 #define DEBUG_H
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21261
diff changeset
3
21261
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
4 #ifdef DEBUG
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
5 #define TRACE printf
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
6 #define dbg_printf printf
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
7 #else
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
8 #define TRACE(...)
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
9 #define dbg_printf(...)
a2e02e6b6379 Rename config.h --> debug.h and include config.h explicitly.
diego
parents:
diff changeset
10 #endif
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21261
diff changeset
11
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21261
diff changeset
12 #endif /* DEBUG_H */