Blender  V3.3
wm_utils.c File Reference
#include "WM_api.h"
#include "WM_types.h"
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Functions

Generic Callback
void WM_generic_callback_free (wmGenericCallback *callback)
 
static void do_nothing (struct bContext *UNUSED(C), void *UNUSED(user_data))
 
wmGenericCallbackWM_generic_callback_steal (wmGenericCallback *callback)
 
Generic User Data
void WM_generic_user_data_free (wmGenericUserData *wm_userdata)
 

Detailed Description

Generic helper utilities that aren't associated with a particular area.

Definition in file wm_utils.c.

Function Documentation

◆ do_nothing()

static void do_nothing ( struct bContext UNUSEDC,
void UNUSEDuser_data 
)
static

Definition at line 26 of file wm_utils.c.

Referenced by WM_generic_callback_steal().

◆ WM_generic_callback_free()

void WM_generic_callback_free ( wmGenericCallback callback)

◆ WM_generic_callback_steal()

wmGenericCallback* WM_generic_callback_steal ( wmGenericCallback callback)

◆ WM_generic_user_data_free()

void WM_generic_user_data_free ( wmGenericUserData wm_userdata)