Mercurial > hg > th-libs
diff th_file.h @ 741:0852bd106034
Change th_mkdir_path() API, instead if returning boolean, return a th-lib error code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 14 Dec 2022 01:32:40 +0200 |
parents | caeb0a44ebdf |
children |
line wrap: on
line diff
--- a/th_file.h Wed Dec 14 01:31:51 2022 +0200 +++ b/th_file.h Wed Dec 14 01:32:40 2022 +0200 @@ -49,7 +49,7 @@ char * th_get_config_dir(void); bool th_stat_path(const char *path, th_stat_data *data); -bool th_mkdir_path(const char *path, const int mode); +int th_mkdir_path(const char *path, const int mode); #ifdef __cplusplus