ObjFW  Diff

Differences From Artifact [405adaef95]:

To Artifact [cf116e78a7]:


368
369
370
371
372
373
374
375

376
377
378
379
380
381
382
368
369
370
371
372
373
374

375
376
377
378
379
380
381
382







-
+







 * OFAllocFailedException.
 *
 * \return The allocated object
 */
+ alloc;

/**
 * \brief Allocates memory for a new instance and calls -[init] on it.
 * \brief Allocates memory for a new instance and calls \ref init on it.
 * \return An allocated and initialized object
 */
+ new;

/**
 * \brief Returns the class.
 *
544
545
546
547
548
549
550
551
552
553







554
555
556
557
558
559
560
544
545
546
547
548
549
550



551
552
553
554
555
556
557
558
559
560
561
562
563
564







-
-
-
+
+
+
+
+
+
+







 * \return Whether the method has been added to the class
 */
+ (BOOL)resolveInstanceMethod: (SEL)selector;

/**
 * \brief Initializes an already allocated object.
 *
 * Derived classes may override this, but need to do self = [super init] before
 * they do any initialization themselves. init may never return nil, instead
 * an exception (for example OFInitializationFailed) should be thrown.
 * Derived classes may override this, but need to do
 * \code
 *   self = [super init]
 * \endcode
 * before they do any initialization themselves. \ref init may never return nil,
 * instead an exception (for example OFInitializationFailedException) should be
 * thrown.
 *
 * \return An initialized object
 */
- init;

/**
 * \brief Returns the name of the object's class.