@@ -52,10 +52,21 @@ * \param objs A C array of objects, terminated with nil * \return A new autoreleased OFArray */ + arrayWithCArray: (OFObject**)objs; +/** + * Creates a new OFArray with the objects from the specified C array of the + * specified length. + * + * \param objs A C array of objects + * \param len The length of the C array + * \return A new autoreleased OFArray + */ ++ arrayWithCArray: (OFObject**)objs + length: (size_t)length; + /** * Initializes an OFArray with the specified object. * * \param obj An object * \return An initialized OFArray @@ -86,10 +97,21 @@ * \param objs A C array of objects, terminated with nil * \return An initialized OFArray */ - initWithCArray: (OFObject**)objs; +/** + * Initializes an OFArray with the objects from the specified C array of the + * specified length. + * + * \param objs A C array of objects + * \param len The length of the C array + * \return An initialized OFArray + */ +- initWithCArray: (OFObject**)objs + length: (size_t)len; + /** * \return The number of objects in the array */ - (size_t)count;