From 1e3ef5cf83cb0102be7ecec5385b7d735a126b3c Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 30 Mar 1996 22:20:26 +0000 Subject: [PATCH] Declare new methods. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1306 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/base/NSArray.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Headers/gnustep/base/NSArray.h b/Headers/gnustep/base/NSArray.h index 35673ce7a..2c1e9c38d 100644 --- a/Headers/gnustep/base/NSArray.h +++ b/Headers/gnustep/base/NSArray.h @@ -1,5 +1,5 @@ /* Interface for NSArray for GNUStep - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by: R. Andrew McCallum Date: 1995 @@ -35,6 +35,8 @@ + array; + arrayWithObject: anObject; + arrayWithObjects: firstObj, ...; +- (NSArray*) arrayByAddingObject: anObject; +- (NSArray*) arrayByAddingObjectsFromArray: (NSArray*)anotherArray; - initWithObjects: (id*) objects count: (unsigned) count; - initWithObjects: firstObj, ...; - initWithArray: (NSArray*)array; @@ -83,6 +85,7 @@ - (void) removeObjectsFromIndices: (unsigned*)indices numIndices: (unsigned)count; - (void) removeObjectsInArray: (NSArray*)otherArray; +- (void) setArray:(NSArray *)otherArray; - (void) sortUsingFunction: (int(*)(id,id,void*))compare context: (void*)context;