Differences From Artifact [4dca2f32e1]:
- File
src/OFConstString.m
— part of check-in
[139591afe1]
at
2009-04-19 20:34:38
on branch trunk
— Use isa instead of [self class].
Since we don't use Object anymore and define isa in OFObject, we can
rely on it. (user: js, size: 1496) [annotate] [blame] [check-ins using]
To Artifact [382b8cbac7]:
- File src/OFConstString.m — part of check-in [372211deb7] at 2009-05-04 14:19:02 on branch trunk — Make OFString a common class for all strings. (user: js, size: 708) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 | /* * 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. */ | | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 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 | /* * 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 <config.h> #import "OFConstString.h" #ifndef __objc_INCLUDE_GNU void *_OFConstStringClassReference; #endif @implementation OFConstString #ifndef __objc_INCLUDE_GNU + (void)load { objc_setFutureClass((Class)&_OFConstStringClassReference, "OFConstString"); } #endif - retain { return self; } - release { |
︙ | ︙ |