*/
DISPATCH_DECL(dispatch_source);
+__BEGIN_DECLS
+
/*!
* @typedef dispatch_source_type_t
*
*/
#define DISPATCH_SOURCE_TYPE_MEMORYPRESSURE \
(&_dispatch_source_type_memorypressure)
-__OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_NA)
+__OSX_AVAILABLE_STARTING(__MAC_10_9,__IPHONE_8_0)
DISPATCH_SOURCE_TYPE_DECL(memorypressure);
/*!
typedef unsigned long dispatch_source_timer_flags_t;
-__BEGIN_DECLS
/*!
* @function dispatch_source_create
DISPATCH_EXPORT DISPATCH_NONNULL1 DISPATCH_NOTHROW
void
dispatch_source_set_cancel_handler(dispatch_source_t source,
- dispatch_block_t cancel_handler);
+ dispatch_block_t handler);
#endif /* __BLOCKS__ */
/*!
DISPATCH_EXPORT DISPATCH_NONNULL1 DISPATCH_NOTHROW
void
dispatch_source_set_cancel_handler_f(dispatch_source_t source,
- dispatch_function_t cancel_handler);
+ dispatch_function_t handler);
/*!
* @function dispatch_source_cancel
DISPATCH_EXPORT DISPATCH_NONNULL1 DISPATCH_NOTHROW
void
dispatch_source_set_registration_handler(dispatch_source_t source,
- dispatch_block_t registration_handler);
+ dispatch_block_t handler);
#endif /* __BLOCKS__ */
/*!
DISPATCH_EXPORT DISPATCH_NONNULL1 DISPATCH_NOTHROW
void
dispatch_source_set_registration_handler_f(dispatch_source_t source,
- dispatch_function_t registration_handler);
+ dispatch_function_t handler);
__END_DECLS