|
Blender V4.3
|
#include "BLO_readfile.hh"#include "MEM_guardedalloc.h"#include "BLI_string.h"#include "BKE_main.hh"#include "DNA_ID.h"Go to the source code of this file.
Functions | |
| TempLibraryContext * | BLO_library_temp_load_id (Main *real_main, const char *blend_file_path, const short idcode, const char *idname, ReportList *reports) |
| void | BLO_library_temp_free (TempLibraryContext *temp_lib_ctx) |
| void BLO_library_temp_free | ( | TempLibraryContext * | temp_lib_ctx | ) |
Definition at line 50 of file readfile_tempload.cc.
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 blender::ed::asset::AssetTemporaryIDConsumer::~AssetTemporaryIDConsumer().
| TempLibraryContext * BLO_library_temp_load_id | ( | Main * | real_main, |
| const char * | blend_file_path, | ||
| const short | idcode, | ||
| const char * | idname, | ||
| ReportList * | reports ) |
Definition at line 18 of file readfile_tempload.cc.
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, ID_TAG_TEMP_MAIN, TempLibraryContext::liblink_params, MEM_callocN, BlendFileReadReport::reports, STRNCPY, and TempLibraryContext::temp_id.
Referenced by blender::ed::asset::AssetTemporaryIDConsumer::import_id().