Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_lib_id.h
| Show First 20 Lines • Show All 156 Lines • ▼ Show 20 Lines | void *BKE_libblock_copy(struct Main *bmain, const struct ID *id) ATTR_WARN_UNUSED_RESULT | ||||
| ATTR_NONNULL(); | ATTR_NONNULL(); | ||||
| void BKE_libblock_rename(struct Main *bmain, struct ID *id, const char *name) ATTR_NONNULL(); | void BKE_libblock_rename(struct Main *bmain, struct ID *id, const char *name) ATTR_NONNULL(); | ||||
| void BLI_libblock_ensure_unique_name(struct Main *bmain, const char *name) ATTR_NONNULL(); | void BLI_libblock_ensure_unique_name(struct Main *bmain, const char *name) ATTR_NONNULL(); | ||||
| struct ID *BKE_libblock_find_name(struct Main *bmain, | struct ID *BKE_libblock_find_name(struct Main *bmain, | ||||
| const short type, | const short type, | ||||
| const char *name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | const char *name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); | ||||
| struct ID *BKE_libblock_find_session_uuid(struct Main *bmain, short type, uint32_t session_uuid); | |||||
| /** | /** | ||||
| * Duplicate (a.k.a. deep copy) common processing options. | * Duplicate (a.k.a. deep copy) common processing options. | ||||
| * See also eDupli_ID_Flags for options controlling what kind of IDs to duplicate. | * See also eDupli_ID_Flags for options controlling what kind of IDs to duplicate. | ||||
| */ | */ | ||||
| typedef enum eLibIDDuplicateFlags { | typedef enum eLibIDDuplicateFlags { | ||||
| /** This call to a duplicate function is part of another call for some parent ID. | /** This call to a duplicate function is part of another call for some parent ID. | ||||
| * Therefore, this sub-process should not clear `newid` pointers, nor handle remapping itself. | * Therefore, this sub-process should not clear `newid` pointers, nor handle remapping itself. | ||||
| ▲ Show 20 Lines • Show All 170 Lines • Show Last 20 Lines | |||||