@@ -188,10 +188,15 @@ size_t location; /*! The length of the range */ size_t length; } of_range_t; +/*! + * @brief A time interval in seconds. + */ +typedef double of_time_interval_t; + /*! * @brief A point. */ typedef struct of_point_t { /*! The x coordinate of the point */ @@ -730,11 +735,11 @@ * * @param selector The selector to perform * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector - afterDelay: (double)delay; + afterDelay: (of_time_interval_t)delay; /*! * @brief Performs the specified selector with the specified object after the * specified delay. * @@ -743,11 +748,11 @@ * selector * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector withObject: (id)object - afterDelay: (double)delay; + afterDelay: (of_time_interval_t)delay; /*! * @brief Performs the specified selector with the specified objects after the * specified delay. * @@ -759,11 +764,11 @@ * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector withObject: (id)object1 withObject: (id)object2 - afterDelay: (double)delay; + afterDelay: (of_time_interval_t)delay; #ifdef OF_HAVE_THREADS /*! * @brief Performs the specified selector on the specified thread. * @@ -854,11 +859,11 @@ * @param thread The thread on which to perform the selector * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector onThread: (OFThread*)thread - afterDelay: (double)delay; + afterDelay: (of_time_interval_t)delay; /*! * @brief Performs the specified selector on the specified thread with the * specified object after the specified delay. * @@ -869,11 +874,11 @@ * @param delay The delay after which the selector will be performed */ - (void)performSelector: (SEL)selector onThread: (OFThread*)thread withObject: (id)object - afterDelay: (double)delay; + afterDelay: (of_time_interval_t)delay; /*! * @brief Performs the specified selector on the specified thread with the * specified objects after the specified delay. * @@ -887,11 +892,11 @@ */ - (void)performSelector: (SEL)selector onThread: (OFThread*)thread withObject: (id)object1 withObject: (id)object2 - afterDelay: (double)delay; + afterDelay: (of_time_interval_t)delay; #endif /*! * @brief This method is called when @ref resolveClassMethod: or * @ref resolveInstanceMethod: returned false. It should return a target