added useful macros;

v0.5.xx
Alexander Vdolainen 9 years ago
parent b6e91e99c4
commit aa3b9bc2c3

@ -182,6 +182,8 @@ typedef struct __connections_subsys_type {
#define connections_set_channelcall(c, f) (c)->set_typed_list_callback = (f) #define connections_set_channelcall(c, f) (c)->set_typed_list_callback = (f)
#define connections_set_ondestroy(c, f) (c)->on_destroy = (f) #define connections_set_ondestroy(c, f) (c)->on_destroy = (f)
#define connections_set_onpulse(c, f) (c)->on_pulse = (f) #define connections_set_onpulse(c, f) (c)->on_pulse = (f)
#define connections_set_priv(c, p) (c)->priv = (p)
#define connections_get_priv(c) (c)->priv
typedef struct __rpc_typed_list_type { typedef struct __rpc_typed_list_type {
int type_id; int type_id;

Loading…
Cancel
Save