Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-09-27 13:32:21 +0300
committerJulian Eisel <julian@blender.org>2021-09-27 13:32:21 +0300
commita13b9d20b55539605d31c7a77a07a63f96ff3565 (patch)
treec78670f9fd15aba6b2bc6395bfb086cb6c0244b8 /source/blender/blenkernel/BKE_preferences.h
parentd90f542b04fcef8d9fcaeb536cd183cd983fc423 (diff)
Cleanup: Move asset library remove function next to add function
Better to keep such related operations close together in code.
Diffstat (limited to 'source/blender/blenkernel/BKE_preferences.h')
-rw-r--r--source/blender/blenkernel/BKE_preferences.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_preferences.h b/source/blender/blenkernel/BKE_preferences.h
index 0876653566f..acba2048614 100644
--- a/source/blender/blenkernel/BKE_preferences.h
+++ b/source/blender/blenkernel/BKE_preferences.h
@@ -32,13 +32,13 @@ struct bUserAssetLibrary;
struct bUserAssetLibrary *BKE_preferences_asset_library_add(struct UserDef *userdef,
const char *name,
const char *path) ATTR_NONNULL(1);
+void BKE_preferences_asset_library_remove(struct UserDef *userdef,
+ struct bUserAssetLibrary *library) ATTR_NONNULL();
+
void BKE_preferences_asset_library_name_set(struct UserDef *userdef,
struct bUserAssetLibrary *library,
const char *name) ATTR_NONNULL();
-void BKE_preferences_asset_library_remove(struct UserDef *userdef,
- struct bUserAssetLibrary *library) ATTR_NONNULL();
-
struct bUserAssetLibrary *BKE_preferences_asset_library_find_from_index(
const struct UserDef *userdef, int index) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT;
struct bUserAssetLibrary *BKE_preferences_asset_library_find_from_name(