Overview
Comment: | Use #import "*.h" instead of #import <*.h> in objfw.h.
We need this because we don't add the objfw include path to the |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b7cd1e3dc696f405f317f776dfd14035 |
User & Date: | js on 2009-06-09 13:01:51 |
Other Links: | manifest | tags |
Context
2009-06-09
| ||
13:10 | Implement -[atEndOfStream] for OFSocket. check-in: 41d7910a65 user: js tags: trunk | |
13:01 | Use #import "*.h" instead of #import <*.h> in objfw.h. check-in: b7cd1e3dc6 user: js tags: trunk | |
2009-06-06
| ||
19:17 | Change include path in objfw-config. check-in: 52fd75e0d0 user: js tags: trunk | |
Changes
Modified src/OFObject.h from [60d0648156] to [ca450e2d5c].
︙ | ︙ | |||
63 64 65 66 67 68 69 | /** * Replace a method with a method from another class. * * \param selector The selector of the method to replace * \param class The class from which the new method should be taken * \return The old implementation */ | | | | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | /** * Replace a method with a method from another class. * * \param selector The selector of the method to replace * \param class The class from which the new method should be taken * \return The old implementation */ + (IMP)replaceMethod: (SEL)selector withMethodFromClass: (Class)class; /** * Initialize the already allocated object. * Also sets up the memory pool for the 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 |
︙ | ︙ |
Modified src/OFObject.m from [936af7ddb3] to [0fa5062289].
︙ | ︙ | |||
116 117 118 119 120 121 122 | if (class_conformsToProtocol(c, protocol)) return YES; return NO; #endif } | | | | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | if (class_conformsToProtocol(c, protocol)) return YES; return NO; #endif } + (IMP)replaceMethod: (SEL)selector withMethodFromClass: (Class)class; { #ifdef __objc_INCLUDE_GNU Method_t method = class_get_instance_method(self, selector); IMP oldimp, newimp; if (method == NULL) @throw [OFInvalidArgumentException newWithClass: self |
︙ | ︙ |
Modified src/objfw.h from [e03bc7167f] to [2ebcb93089].
1 2 | /* * Copyright (c) 2008 - 2009 | | | | | | | | | | | | | | | | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | /* * Copyright (c) 2008 - 2009 * Jonathan Schleifer "js@webkeks.org" * * All rights reserved. * * This file is part of libobjfw. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE included in * the packaging of this file. */ #import "OFObject.h" #import "OFExceptions.h" #import "OFAutoreleasePool.h" #import "OFString.h" #import "OFDataArray.h" #import "OFArray.h" #import "OFList.h" #import "OFDictionary.h" #import "OFIterator.h" #import "OFNumber.h" #import "OFStream.h" #import "OFFile.h" #import "OFSocket.h" #import "OFTCPSocket.h" #import "OFHashes.h" #import "OFThread.h" #import "OFXMLFactory.h" #ifdef OF_PLUGINS #import "OFPlugin.h" #endif #import "OFMacros.h" #import "asprintf.h" |