diff --git a/Source/Collection.m b/Source/Collection.m index 575a5bf17..cd10d1ca3 100644 --- a/Source/Collection.m +++ b/Source/Collection.m @@ -1,5 +1,5 @@ /* Implementation for Objective-C Collection object - Copyright (C) 1993,1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1993,1994, 1995, 1996 Free Software Foundation, Inc. Written by: R. Andrew McCallum Date: May 1993 @@ -1015,6 +1015,17 @@ return [self withElementsCall:doIt]; } +/* xxx a temporary implementation until the collection overhaul gets done. */ +- (void) withObjectsInvoke: anInvocation +{ + void doIt(elt e) + { + [anInvocation invokeWithObject: e.id_u]; + } + CHECK_CONTAINS_OBJECTS_ERROR(); + [self withElementsCall:doIt]; +} + - safeWithObjectsCall: (void(*)(id))aFunc { void doIt(elt e)