35 const int num_pointers,
41 for (funcstore = lb->
first; funcstore; funcstore = funcstore->
next) {
42 funcstore->
func(bmain, pointers, num_pointers, funcstore->
arg);
72 PointerRNA *pointers[2] = {&id_ptr, &depsgraph_ptr};
96 for (funcstore = lb->
first; funcstore; funcstore = funcstore_next) {
97 funcstore_next = funcstore->
next;
99 if (funcstore->
alloc) {
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_remlink(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
struct Depsgraph Depsgraph
Read Guarded memory(de)allocation.
void BKE_callback_add(bCallbackFuncStore *funcstore, eCbEvent evt)
void BKE_callback_exec_id_depsgraph(struct Main *bmain, struct ID *id, struct Depsgraph *depsgraph, eCbEvent evt)
static ListBase callback_slots[BKE_CB_EVT_TOT]
void BKE_callback_global_finalize(void)
void BKE_callback_exec_null(struct Main *bmain, eCbEvent evt)
void BKE_callback_exec_id(struct Main *bmain, struct ID *id, eCbEvent evt)
void BKE_callback_exec(struct Main *bmain, struct PointerRNA **pointers, const int num_pointers, eCbEvent evt)
void BKE_callback_global_init(void)
const Depsgraph * depsgraph
void(* MEM_freeN)(void *vmemh)
void RNA_pointer_create(ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
void RNA_id_pointer_create(ID *id, PointerRNA *r_ptr)
void(* func)(struct Main *, struct PointerRNA **, const int num_pointers, void *arg)
struct bCallbackFuncStore * next