Differences From Artifact [c20f86a7ff]:
- File src/OFArray.m — part of check-in [a1e066138c] at 2008-11-02 00:42:36 on branch trunk — Implementation for OFArray. (user: js, size: 1989) [annotate] [blame] [check-ins using]
To Artifact [95cb756c66]:
- File src/OFArray.m — part of check-in [61fc89489a] at 2008-11-02 02:09:31 on branch trunk — Added -data for OFArray & one new test. (user: js, size: 2022) [annotate] [blame] [check-ins using]
︙ | |||
39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | + + + + + | return items; } - (size_t)itemsize { return itemsize; } - (void*)data { return data; } - (void*)item: (size_t)item { if (item >= items) /* FIXME: Maybe OFOutOfRangeException would be better? */ [[OFOverflowException newWithObject: self] raise]; |
︙ |