Overview
Comment: | Remove +[OFObject new]
While it allows for some laziness when using ARC, it only creates |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8d9ab7ea41795285f6745dccb7ed0262 |
User & Date: | js on 2022-12-04 09:01:11 |
Other Links: | manifest | tags |
Context
2022-12-04
| ||
10:57 | Clean up and fix objfw.spec check-in: 06823673f3 user: js tags: trunk | |
09:01 | Remove +[OFObject new] check-in: 8d9ab7ea41 user: js tags: trunk | |
2022-11-27
| ||
09:22 | OFSystemInfo: Detect 3DNow! support check-in: 29565be707 user: js tags: trunk | |
2018-02-25
| ||
04:21 | OFObject: Bring +[new] back check-in: d6bf2b12dd user: js tags: trunk | |
Changes
Modified src/OFObject.h from [698abcee0b] to [4fee091a9d].
︙ | ︙ | |||
655 656 657 658 659 660 661 | * @return The allocated object * @throw OFAllocFailedException There was not enough memory to allocate the * object * @throw OFInitializationFailedException The instance could not be constructed */ + (instancetype)alloc; | < < < < < < < | 655 656 657 658 659 660 661 662 663 664 665 666 667 668 | * @return The allocated object * @throw OFAllocFailedException There was not enough memory to allocate the * object * @throw OFInitializationFailedException The instance could not be constructed */ + (instancetype)alloc; /** * @brief Returns the class. * * @return The class */ + (Class)class; |
︙ | ︙ |
Modified src/OFObject.m from [eefa1e2165] to [5066d79b28].
︙ | ︙ | |||
433 434 435 436 437 438 439 | } + (instancetype)alloc { return OFAllocObject(self, 0, 0, NULL); } | < < < < < | 433 434 435 436 437 438 439 440 441 442 443 444 445 446 | } + (instancetype)alloc { return OFAllocObject(self, 0, 0, NULL); } + (Class)class { return self; } + (OFString *)className { |
︙ | ︙ |