Overview
Comment: | Make properties work with the Apple runtime. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4c069e571f22da5a4aba8f11ff675fb9 |
User & Date: | js on 2010-01-16 13:18:21 |
Other Links: | manifest | tags |
Context
2010-01-16
| ||
13:19 | Remove useless definitions in headers. check-in: 9f3151f200 user: js tags: trunk | |
13:18 | Make properties work with the Apple runtime. check-in: 4c069e571f user: js tags: trunk | |
12:01 | Update lib version as we already have incompatible API changes. check-in: 2099ba5e3c user: js tags: trunk | |
Changes
Modified src/OFObject.m from [42e8feff00] to [e24c28f144].
︙ | ︙ | |||
504 505 506 507 508 509 510 511 512 513 514 515 516 517 | free(*iter); if (PRE_IVAR->memchunks != NULL) free(PRE_IVAR->memchunks); free((char*)self - PRE_IVAR_ALIGN); } /* * Those are needed as the root class is the superclass of the root class's * metaclass and thus instance methods can be sent to class objects as well. */ + addMemoryToPool: (void*)ptr { | > > > > > > > > > > > > > > > > > > > | 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 | free(*iter); if (PRE_IVAR->memchunks != NULL) free(PRE_IVAR->memchunks); free((char*)self - PRE_IVAR_ALIGN); } /* Required to use properties with the Apple runtime */ - (id)copyWithZone: (void*)zone { if (zone != NULL) @throw [OFNotImplementedException newWithClass: isa selector: _cmd]; return [(id)self copy]; } - (id)mutableCopyWithZone: (void*)zone { if (zone != NULL) @throw [OFNotImplementedException newWithClass: isa selector: _cmd]; return [(id)self mutableCopy]; } /* * Those are needed as the root class is the superclass of the root class's * metaclass and thus instance methods can be sent to class objects as well. */ + addMemoryToPool: (void*)ptr { |
︙ | ︙ | |||
569 570 571 572 573 574 575 576 577 578 579 580 | } + (void)release { } + (void)dealloc { @throw [OFNotImplementedException newWithClass: self selector: _cmd]; } @end | > > > > > > > > > > > > | 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 | } + (void)release { } + (void)dealloc { @throw [OFNotImplementedException newWithClass: self selector: _cmd]; } + (id)copyWithZone: (void*)zone { @throw [OFNotImplementedException newWithClass: self selector: _cmd]; } + (id)mutableCopyWithZone: (void*)zone { @throw [OFNotImplementedException newWithClass: self selector: _cmd]; } @end |