Review: Remove long_u: memfile: Refactor: int -> bool.

Replace int with bool where appropriate.
This commit is contained in:
Eliseo Martínez
2014-10-24 20:04:14 +02:00
parent 96e7f229a5
commit 7d4ec612b1
4 changed files with 53 additions and 51 deletions

View File

@@ -2,6 +2,8 @@
#define NVIM_MEMFILE_DEFS_H
#include <stdint.h>
#include <stdbool.h>
#include "nvim/types.h"
/// A block number.
@@ -100,7 +102,7 @@ typedef struct memfile {
blocknr_T mf_neg_count; /// number of negative blocks numbers
blocknr_T mf_infile_count; /// number of pages in the file
unsigned mf_page_size; /// number of bytes in a page
int mf_dirty; /// TRUE if there are dirty blocks
bool mf_dirty; /// TRUE if there are dirty blocks
} memfile_T;
#endif // NVIM_MEMFILE_DEFS_H