61 for (
LinkNode *ln = datablock_infos; ln; ln = ln->
next) {
72 FileIndexerEntry *indexer_entry = static_cast<FileIndexerEntry *>(indexer_entry_ptr);
73 BLO_datablock_info_free(&indexer_entry->datablock_info);
74 MEM_delete(indexer_entry);
77 indexer_entries->
entries =
nullptr;
Read Blender memory allocation and freeing.
static void update_index(const char *, FileIndexerEntries *, void *)
static FileIndexerEntry * file_indexer_entry_create_from_datablock_info(BLODataBlockInfo *datablock_info, const int idcode)
static eFileIndexerResult read_index(const char *, FileIndexerEntries *, int *, void *)
constexpr FileIndexerType default_indexer()
const FileIndexerType file_indexer_noop
void ED_file_indexer_entries_clear(FileIndexerEntries *indexer_entries)
void void BLI_linklist_prepend(LinkNode **listp, void *ptr) ATTR_NONNULL(1)
void ED_file_indexer_entries_extend_from_datablock_infos(FileIndexerEntries *indexer_entries, LinkNode *datablock_infos, int idcode)
@ FILE_INDEXER_NEEDS_UPDATE
void BLI_linklist_free(LinkNode *list, LinkNodeFreeFP freefunc)
BLODataBlockInfo datablock_info