diff options
| author | Bert <ber.t@gmx.com> | 2011-09-11 21:01:24 +0200 | 
|---|---|---|
| committer | Bert <ber.t@gmx.com> | 2011-09-11 21:01:24 +0200 | 
| commit | b2a2a62b7b8a066467d7e8ef520fef7c17e3c5ca (patch) | |
| tree | c13904baa041941854a7550f883ba38e14205f1e /types.h | |
| parent | e2d4b9c7915a2a356cae04d33f1713ae224fbe7e (diff) | |
Added own bool type
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 7 | 
1 files changed, 6 insertions, 1 deletions
| @@ -2,6 +2,11 @@  #define TYPES_H  typedef enum { +	false, +	true +} bool; + +typedef enum {  	MODE_IMAGE,  	MODE_THUMB  } appmode_t; @@ -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: */ | 
