Mercurial > hg > th-libs
diff th_file.h @ 453:efd33accdc81
Break backwards compatibility by renaming BOOL, TRUE and FALSE to lowercase.
Introduce optional but default use of stdbool.h.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 02 Jan 2018 22:56:03 +0200 |
parents | 9148bc3fa838 |
children | 347bfd3e017e |
line wrap: on
line diff
--- a/th_file.h Wed Oct 25 22:32:07 2017 +0300 +++ b/th_file.h Tue Jan 02 22:56:03 2018 +0200 @@ -39,8 +39,8 @@ char * th_get_home_dir(); char * th_get_config_dir(const char *name); -BOOL th_stat_path(const char *path, int *flags); -BOOL th_mkdir_path(const char *cpath, int mode); +bool th_stat_path(const char *path, int *flags); +bool th_mkdir_path(const char *cpath, int mode); #ifdef __cplusplus