diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-16 14:22:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-16 14:22:11 +0400 |
commit | 5938b4c93e92c6663f134a3e1e4ec36e22469ee2 (patch) | |
tree | 66fa0a527046d6b91d30d6870d02a8a6b4544b25 /source/blender/blenlib/BLI_storage.h | |
parent | 59f330cce06abaccc34845e4f2cae89bd9e705be (diff) |
new utility function for BLI_storage.h - BLI_is_dir
currently unsupported on windows.
should fix this too [#19656] N-Panel in filebrowser not working
though typing in invalid names then becomes possible
Diffstat (limited to 'source/blender/blenlib/BLI_storage.h')
-rw-r--r-- | source/blender/blenlib/BLI_storage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_storage.h b/source/blender/blenlib/BLI_storage.h index fa44bb36e15..96e88ec8e89 100644 --- a/source/blender/blenlib/BLI_storage.h +++ b/source/blender/blenlib/BLI_storage.h @@ -66,6 +66,9 @@ int BLI_exist(char *name); * @param name The name of the file to read. * @retval A list of strings representing the file lines. */ + +int BLI_is_dir(char *file); + struct LinkNode *BLI_read_file_as_lines(char *name); /** |