Overview
Comment: | Implementation for OFArray. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a1e066138c6d8d79e154ac69bd0e04e6 |
User & Date: | js on 2008-11-02 00:42:36 |
Other Links: | manifest | tags |
Context
2008-11-02
| ||
02:09 | Added -data for OFArray & one new test. check-in: 61fc89489a user: js tags: trunk | |
00:42 | Implementation for OFArray. check-in: a1e066138c user: js tags: trunk | |
00:27 | Some fixes for OFObject. check-in: 9ff3dbe9f9 user: js tags: trunk | |
Changes
Modified src/OFArray.h from [d335e7706f] to [cfdd21c800].
︙ | |||
11 12 13 14 15 16 17 | 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 | - + - + + - + - + - + - + | #import <stddef.h> #import "OFObject.h" @interface OFArray: OFObject { |
Modified src/OFArray.m from [148d16c543] to [c20f86a7ff].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | + + + + + + + + - + - + - + + - - + + + + - + - + - - + + + + + + + + - - - - - + + + + + + + + + + + + + + - - + + + + + + + + - + - + | /* * Copyright (c) 2008 * 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 <stdio.h> #import <string.h> #import "OFArray.h" #import "OFExceptions.h" #import "OFMacros.h" @implementation OFArray + newWithItemSize: (size_t)is { return [[OFArray alloc] initWithItemSize: is]; } - initWithItemSize: (size_t)is { if ((self = [super init])) { data = NULL; itemsize = is; |
Modified tests/Makefile from [a5c3f52b03] to [18ee2d1c94].
| 1 2 3 | - + |
|
Added tests/OFArray/Makefile version [7f2447d330].
|
Added tests/OFArray/OFArray.m version [83725e7e15].