Commit graph

10 commits

Author SHA1 Message Date
mccallum
1a623a0c7a (self): New macro, cast to (Array*) to reflect behavior addition.
([NSGArray -initWithObjects:count:]): Call Array designated initalizer
instead of accessing ivars directly.
([NSGMutableArray -initWithCapacity:]): Likewise.
([NSGArray -count]): Method removed, Array behavior will take care of
it.
([NSGArray -objectAtIndex:]): Use self to access ivars.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@841 72102866-910b-0410-8b05-ffd578937521
1996-01-26 16:29:07 +00:00
mccallum
3a8e9f32cb ([NSGArray -objectAtIndex:]): Fix condition on exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@650 72102866-910b-0410-8b05-ffd578937521
1995-10-30 01:29:52 +00:00
mccallum
8a3909a021 ([NSGArray -initWithObjects:count:]): Raise exception for nil objects.
([NSGArray -objectAtIndex:]): Raise exception when index too high.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@630 72102866-910b-0410-8b05-ffd578937521
1995-10-22 17:58:57 +00:00
mccallum
1edc8b38e0 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@627 72102866-910b-0410-8b05-ffd578937521
1995-10-18 16:47:59 +00:00
mccallum
43da69d1ae Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@612 72102866-910b-0410-8b05-ffd578937521
1995-09-21 17:42:46 +00:00
mccallum
8523703daf ([NSGArray -initWithObjects:count:]): Set _capacity to minimum of 1.
([NSGMutableArray -initWithCapacity:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@498 72102866-910b-0410-8b05-ffd578937521
1995-07-06 17:58:16 +00:00
mccallum
73b367c163 (-initWithObjects:count:): Retain objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@406 72102866-910b-0410-8b05-ffd578937521
1995-05-05 14:46:35 +00:00
mccallum
883fa9fab5 Include from <Foundation/...>, not <foundation/...>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@391 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:13:20 +00:00
mccallum
145826e50f Change names from "Concrete"-style to "G"-style.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@368 72102866-910b-0410-8b05-ffd578937521
1995-04-15 19:48:46 +00:00
mccallum
c2629d3f31 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@291 72102866-910b-0410-8b05-ffd578937521
1995-04-05 20:47:19 +00:00