Changeset 5311:778a3e7b2b66 in roaraudio for libroar
- Timestamp:
- 11/29/11 12:54:54 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/notify.c
r5151 r5311 183 183 } 184 184 185 struct roar_notify_core * roar_notify_core_swap_global(struct roar_notify_core * core) { 186 struct roar_notify_core * ret = _libroar_notify_core; 187 188 if ( core != NULL ) 189 if ( roar_notify_core_ref(core) == -1 ) 190 return NULL; 191 192 _libroar_notify_core = core; 193 194 return ret; 195 } 196 185 197 int roar_notify_core_register_proxy(struct roar_notify_core * core, void (*cb)(struct roar_notify_core * core, struct roar_event * event, void * userdata), void * userdata) { 186 198 _CKICORE();
Note: See TracChangeset
for help on using the changeset viewer.