Blender  V3.3
wm_message_bus_intern.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include "../wm_message_bus.h"
10 
11 struct wmMsgBus {
17 };
18 
23  struct wmMsgSubscribeValueLink *msg_lnk);
24 
25 typedef struct wmMsgSubscribeKey_Generic {
29 
31 {
32  return &((wmMsgSubscribeKey_Generic *)key)->msg;
33 }
35 {
36  return &((wmMsgSubscribeKey_Generic *)key)->msg;
37 }
#define BLI_INLINE
struct GSet GSet
Definition: BLI_ghash.h:340
unsigned int uint
Definition: BLI_sys_types.h:67
struct GSet * messages_gset[WM_MSG_TYPE_NUM]
#define WM_MSG_TYPE_NUM
struct wmMsgSubscribeKey_Generic wmMsgSubscribeKey_Generic
void wm_msg_subscribe_value_free(struct wmMsgSubscribeKey *msg_key, struct wmMsgSubscribeValueLink *msg_lnk)
BLI_INLINE const wmMsg * wm_msg_subscribe_value_msg_cast(const wmMsgSubscribeKey *key)
BLI_INLINE wmMsg * wm_msg_subscribe_value_msg_cast_mut(wmMsgSubscribeKey *key)