27 #define U BLI_STATIC_ASSERT(false, "Global 'U' not allowed, only use arguments passed in!")
93 return asset_lib_pref;
bool BKE_appdir_folder_documents(char *dir)
#define BKE_PREFS_ASSET_LIBRARY_DEFAULT_NAME
File and directory operations.
bool BLI_is_file(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
#define LISTBASE_FOREACH(type, var, list)
void BLI_freelinkN(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void * BLI_findstring(const struct ListBase *listbase, const char *id, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
bool BLI_path_contains(const char *container_path, const char *containee_path) ATTR_WARN_UNUSED_RESULT
size_t BLI_path_join(char *__restrict dst, size_t dst_len, const char *path_first,...) ATTR_NONNULL(1
bool BLI_path_parent_dir(char *path) ATTR_NONNULL()
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(1
bool BLI_uniquename(struct ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t name_len)
Read Guarded memory(de)allocation.
void *(* MEM_callocN)(size_t len, const char *str)
bUserAssetLibrary * BKE_preferences_asset_library_containing_path(const UserDef *userdef, const char *path)
void BKE_preferences_asset_library_default_add(UserDef *userdef)
bUserAssetLibrary * BKE_preferences_asset_library_find_from_name(const UserDef *userdef, const char *name)
bUserAssetLibrary * BKE_preferences_asset_library_find_from_index(const UserDef *userdef, int index)
void BKE_preferences_asset_library_path_set(bUserAssetLibrary *library, const char *path)
int BKE_preferences_asset_library_get_index(const UserDef *userdef, const bUserAssetLibrary *library)
void BKE_preferences_asset_library_name_set(UserDef *userdef, bUserAssetLibrary *library, const char *name)
void BKE_preferences_asset_library_remove(UserDef *userdef, bUserAssetLibrary *library)
bUserAssetLibrary * BKE_preferences_asset_library_add(UserDef *userdef, const char *name, const char *path)
struct ListBase asset_libraries
static FT_Library library