Blender  V2.93
Functions | Variables
callbacks.c File Reference
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "BKE_callbacks.h"
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "RNA_types.h"

Go to the source code of this file.

Functions

void BKE_callback_exec (struct Main *bmain, struct PointerRNA **pointers, const int num_pointers, eCbEvent evt)
 
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_id_depsgraph (struct Main *bmain, struct ID *id, struct Depsgraph *depsgraph, eCbEvent evt)
 
void BKE_callback_add (bCallbackFuncStore *funcstore, eCbEvent evt)
 
void BKE_callback_global_init (void)
 
void BKE_callback_global_finalize (void)
 

Variables

static ListBase callback_slots [BKE_CB_EVT_TOT] = {{NULL}}
 

Function Documentation

◆ BKE_callback_add()

void BKE_callback_add ( bCallbackFuncStore funcstore,
eCbEvent  evt 
)

Definition at line 77 of file callbacks.c.

References BLI_addtail(), and callback_slots.

Referenced by BPY_app_handlers_struct(), and FRS_init().

◆ BKE_callback_exec()

void BKE_callback_exec ( struct Main bmain,
struct PointerRNA **  pointers,
const int  num_pointers,
eCbEvent  evt 
)

◆ BKE_callback_exec_id()

void BKE_callback_exec_id ( struct Main bmain,
struct ID id,
eCbEvent  evt 
)

◆ BKE_callback_exec_id_depsgraph()

void BKE_callback_exec_id_depsgraph ( struct Main bmain,
struct ID id,
struct Depsgraph depsgraph,
eCbEvent  evt 
)

◆ BKE_callback_exec_null()

void BKE_callback_exec_null ( struct Main bmain,
eCbEvent  evt 
)

◆ BKE_callback_global_finalize()

void BKE_callback_global_finalize ( void  )

◆ BKE_callback_global_init()

void BKE_callback_global_init ( void  )

Definition at line 83 of file callbacks.c.

Referenced by main().

Variable Documentation

◆ callback_slots

ListBase callback_slots[BKE_CB_EVT_TOT] = {{NULL}}
static

Definition at line 31 of file callbacks.c.

Referenced by BKE_callback_add(), BKE_callback_exec(), and BKE_callback_global_finalize().