Changeset 4755
- Timestamp:
- 05/12/07 02:07:18 (2 years ago)
- Files:
-
- libwired/trunk/libwired/thread/wi-timer.c (modified) (2 diffs)
- libwired/trunk/libwired/thread/wi-timer.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
libwired/trunk/libwired/thread/wi-timer.c
r4742 r4755 55 55 wi_boolean_t incallback; 56 56 wi_time_interval_t fire; 57 58 void *data; 57 59 }; 58 60 … … 308 310 } 309 311 312 313 314 #pragma mark - 315 316 void wi_timer_set_data(wi_timer_t *timer, void *data) { 317 timer->data = data; 318 } 319 320 321 322 void * wi_timer_data(wi_timer_t *timer) { 323 return timer->data; 324 } 325 310 326 #endif libwired/trunk/libwired/thread/wi-timer.h
r4437 r4755 48 48 WI_EXPORT void wi_timer_invalidate(wi_timer_t *); 49 49 50 WI_EXPORT void wi_timer_set_data(wi_timer_t *, void *); 51 WI_EXPORT void * wi_timer_data(wi_timer_t *); 52 50 53 #endif /* WI_TIMER_H */
