AdvancedDetector: Introducing AD_LISTEND, another convenience macro
svn-id: r51590
This commit is contained in:
parent
55d7af0766
commit
312db66d5f
1 changed files with 4 additions and 2 deletions
|
@ -38,8 +38,10 @@ struct ADGameFileDescription {
|
|||
int32 fileSize; // Optional. Set to -1 to ignore.
|
||||
};
|
||||
|
||||
#define AD_ENTRY1(f, x) {{ f, 0, x, -1}, {NULL, 0, NULL, 0}}
|
||||
#define AD_ENTRY1s(f, x, s) {{ f, 0, x, s}, {NULL, 0, NULL, 0}}
|
||||
#define AD_LISTEND {NULL, 0, NULL, 0}
|
||||
|
||||
#define AD_ENTRY1(f, x) {{ f, 0, x, -1}, AD_LISTEND}
|
||||
#define AD_ENTRY1s(f, x, s) {{ f, 0, x, s}, AD_LISTEND}
|
||||
|
||||
enum ADGameFlags {
|
||||
ADGF_NO_FLAGS = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue