|
Blender V4.3
|
Go to the source code of this file.
Typedefs | |
| typedef struct bAddonPrefType | bAddonPrefType |
Functions | |
| bAddonPrefType * | BKE_addon_pref_type_find (const char *idname, bool quiet) |
| void | BKE_addon_pref_type_add (bAddonPrefType *apt) |
| void | BKE_addon_pref_type_remove (const bAddonPrefType *apt) |
| void | BKE_addon_pref_type_init (void) |
| void | BKE_addon_pref_type_free (void) |
| struct bAddon * | BKE_addon_new (void) |
| struct bAddon * | BKE_addon_find (const struct ListBase *addon_list, const char *module) |
| struct bAddon * | BKE_addon_ensure (struct ListBase *addon_list, const char *module) |
| bool | BKE_addon_remove_safe (struct ListBase *addon_list, const char *module) |
| void | BKE_addon_free (struct bAddon *addon) |
| typedef struct bAddonPrefType bAddonPrefType |
Definition at line 27 of file BKE_addon.h.
Definition at line 46 of file addon.cc.
References BKE_addon_find(), BKE_addon_new(), BLI_addtail(), bAddon::module, module, and STRNCPY.
Referenced by blo_do_versions_userdef().
| void BKE_addon_free | ( | struct bAddon * | addon | ) |
Definition at line 69 of file addon.cc.
References IDP_FreeProperty(), MEM_freeN(), and bAddon::prop.
Referenced by BKE_addon_remove_safe(), and userdef_free_addons().
| struct bAddon * BKE_addon_new | ( | void | ) |
Definition at line 35 of file addon.cc.
References MEM_callocN.
Referenced by BKE_addon_ensure(), and BKE_blendfile_userdef_from_defaults().
| void BKE_addon_pref_type_add | ( | bAddonPrefType * | apt | ) |
Definition at line 108 of file addon.cc.
References BLI_ghash_insert(), and global_addonpreftype_hash.
| bAddonPrefType * BKE_addon_pref_type_find | ( | const char * | idname, |
| bool | quiet ) |
Definition at line 85 of file addon.cc.
References BLI_ghash_lookup(), CLOG_WARN, global_addonpreftype_hash, and LOG.
| void BKE_addon_pref_type_free | ( | void | ) |
Definition at line 124 of file addon.cc.
References BLI_ghash_free(), global_addonpreftype_hash, and MEM_freeN().
Referenced by WM_exit_ex().
| void BKE_addon_pref_type_init | ( | void | ) |
Definition at line 118 of file addon.cc.
References BLI_assert, BLI_ghash_str_new(), and global_addonpreftype_hash.
Referenced by WM_init().
| void BKE_addon_pref_type_remove | ( | const bAddonPrefType * | apt | ) |
Definition at line 113 of file addon.cc.
References BLI_ghash_remove(), global_addonpreftype_hash, and MEM_freeN().
| bool BKE_addon_remove_safe | ( | struct ListBase * | addon_list, |
| const char * | module ) |
Definition at line 57 of file addon.cc.
References BKE_addon_free(), BLI_findstring(), BLI_remlink(), module, and offsetof.
Referenced by blo_do_versions_userdef(), and wm_init_userdef().