patch [#34103] dir_contents.patch

from Lawrence D'Oliveiro (ldo)

- storage.c: Simplify BLI_dir_contents and make it and its internal subsidiary routines reentrant
- Moved common code for disposal of a struct direntry to new routine BLI_free_filelist in storage.c, and put calls to it in interface_icons.c and filelist.c
- Took out inclusion of BLI_fileops_types.h from BLI_fileops.h and put it explicitly into .c files that need it (which turned out to be only 7 of the 35 files that were including the former)
This commit is contained in:
Campbell Barton
2013-03-05 03:44:47 +00:00
parent f44b54d2a7
commit 1a9cde8b99
9 changed files with 75 additions and 71 deletions

View File

@@ -45,6 +45,7 @@
#include "BLI_math.h"
#include "BLI_rand.h"
#include "BLI_utildefines.h"
#include "BLI_fileops_types.h"
#include "BKE_context.h"
#include "BKE_screen.h"