Blender
V3.3
|
#include "BLO_readfile.h"
#include "MEM_guardedalloc.h"
#include "BLI_string.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "DNA_ID.h"
Go to the source code of this file.
Functions | |
TempLibraryContext * | BLO_library_temp_load_id (struct Main *real_main, const char *blend_file_path, const short idcode, const char *idname, struct ReportList *reports) |
void | BLO_library_temp_free (TempLibraryContext *temp_lib_ctx) |
void BLO_library_temp_free | ( | TempLibraryContext * | temp_lib_ctx | ) |
Definition at line 48 of file readfile_tempload.c.
References BKE_main_free(), TempLibraryContext::blendhandle, BLO_blendhandle_close(), BLO_library_link_end(), TempLibraryContext::bmain_base, TempLibraryContext::bmain_lib, TempLibraryContext::liblink_params, and MEM_freeN.
Referenced by AssetTemporaryIDConsumer::~AssetTemporaryIDConsumer().
TempLibraryContext* BLO_library_temp_load_id | ( | struct Main * | real_main, |
const char * | blend_file_path, | ||
const short | idcode, | ||
const char * | idname, | ||
struct ReportList * | reports | ||
) |
Definition at line 17 of file readfile_tempload.c.
References TempLibraryContext::bf_reports, BKE_main_new(), TempLibraryContext::blendhandle, BLO_blendhandle_from_file(), BLO_library_link_begin(), BLO_library_link_named_part(), BLO_library_link_params_init(), TempLibraryContext::bmain_base, TempLibraryContext::bmain_lib, Main::filepath, LIB_TAG_TEMP_MAIN, TempLibraryContext::liblink_params, MEM_callocN, BlendFileReadReport::reports, STRNCPY, and TempLibraryContext::temp_id.
Referenced by AssetTemporaryIDConsumer::import_id().