Cleanup: Rename BKE_library_idmap file to BKE_main_idmap
Part of T72604: > Proposal: BKE_library and BKE_main API naming: prefixes conventions
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
* along with this program; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
#ifndef __BKE_LIBRARY_IDMAP_H__
|
||||
#define __BKE_LIBRARY_IDMAP_H__
|
||||
#ifndef __BKE_MAIN_IDMAP_H__
|
||||
#define __BKE_MAIN_IDMAP_H__
|
||||
|
||||
/** \file
|
||||
* \ingroup bke
|
||||
@@ -42,4 +42,4 @@ struct ID *BKE_main_idmap_lookup_id(struct IDNameLib_Map *id_typemap,
|
||||
const struct ID *id) ATTR_WARN_UNUSED_RESULT
|
||||
ATTR_NONNULL(1, 2);
|
||||
|
||||
#endif /* __BKE_LIBRARY_IDMAP_H__ */
|
||||
#endif /* __BKE_MAIN_IDMAP_H__ */
|
||||
@@ -136,7 +136,6 @@ set(SRC
|
||||
intern/layer.c
|
||||
intern/layer_utils.c
|
||||
intern/library.c
|
||||
intern/library_idmap.c
|
||||
intern/library_override.c
|
||||
intern/library_query.c
|
||||
intern/library_remap.c
|
||||
@@ -144,6 +143,7 @@ set(SRC
|
||||
intern/lightprobe.c
|
||||
intern/linestyle.c
|
||||
intern/main.c
|
||||
intern/main_idmap.c
|
||||
intern/mask.c
|
||||
intern/mask_evaluate.c
|
||||
intern/mask_rasterize.c
|
||||
@@ -299,7 +299,6 @@ set(SRC
|
||||
BKE_lattice.h
|
||||
BKE_layer.h
|
||||
BKE_library.h
|
||||
BKE_library_idmap.h
|
||||
BKE_library_override.h
|
||||
BKE_library_query.h
|
||||
BKE_library_remap.h
|
||||
@@ -307,6 +306,7 @@ set(SRC
|
||||
BKE_lightprobe.h
|
||||
BKE_linestyle.h
|
||||
BKE_main.h
|
||||
BKE_main_idmap.h
|
||||
BKE_mask.h
|
||||
BKE_material.h
|
||||
BKE_mball.h
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
#include "DNA_ID.h"
|
||||
|
||||
#include "BKE_idcode.h"
|
||||
#include "BKE_library_idmap.h" /* own include */
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_main_idmap.h" /* own include */
|
||||
|
||||
/** \file
|
||||
* \ingroup bke
|
||||
@@ -121,7 +121,7 @@
|
||||
#include "BKE_idprop.h"
|
||||
#include "BKE_layer.h"
|
||||
#include "BKE_library.h"
|
||||
#include "BKE_library_idmap.h"
|
||||
#include "BKE_main_idmap.h"
|
||||
#include "BKE_library_override.h"
|
||||
#include "BKE_library_query.h"
|
||||
#include "BKE_main.h" // for Main
|
||||
|
||||
Reference in New Issue
Block a user