@@ -61,10 +61,18 @@ * \param firstObject The first object in the array * \return A new autoreleased OFArray */ + arrayWithObjects: (id)firstObject, ...; +/** + * \brief Creates a new OFArray with the objects from the specified array. + * + * \param array An array + * \return A new autoreleased OFArray + */ ++ arrayWithArray: (OFArray*)array; + /** * \brief Creates a new OFArray with the objects from the specified C array. * * \param objects A C array of objects, terminated with nil * \return A new autoreleased OFArray @@ -106,10 +114,18 @@ * \return An initialized OFArray */ - initWithObject: (id)firstObject arguments: (va_list)arguments; +/** + * \brief Initializes an OFArray with the objects from the specified array. + * + * \param array An array + * \return An initialized OFArray + */ +- initWithArray: (OFArray*)array; + /** * \brief Initializes an OFArray with the objects from the specified C array. * * \param objects A C array of objects, terminated with nil * \return An initialized OFArray