Added own bool type

This commit is contained in:
Bert
2011-09-11 21:01:24 +02:00
parent e2d4b9c791
commit b2a2a62b7b
13 changed files with 444 additions and 442 deletions

View File

@ -1,6 +1,11 @@
#ifndef TYPES_H
#define TYPES_H
typedef enum {
false,
true
} bool;
typedef enum {
MODE_IMAGE,
MODE_THUMB
@ -29,7 +34,7 @@ typedef enum {
typedef struct {
const char *name; /* as given by user */
const char *path; /* always absolute */
unsigned char loaded;
bool loaded;
} fileinfo_t;
/* timeouts in milliseconds: */