@@ -145,13 +145,14 @@ double double_; } _value; of_number_type_t _type; } -#ifdef OF_HAVE_PROPERTIES +/*! + * The type of the number. + */ @property (readonly) of_number_type_t type; -#endif /*! * @brief Creates a new OFNumber with the specified bool. * * @param bool_ A bool which the OFNumber should contain @@ -610,17 +611,10 @@ * @param double_ A double which the OFNumber should contain * @return An initialized OFNumber */ - initWithDouble: (double)double_; -/*! - * @brief Returns the type of the number. - * - * @return An of_number_type_t indicating the type of the number - */ -- (of_number_type_t)type; - /*! * @brief Returns the OFNumber as a bool. * * @return The OFNumber as a bool */