~ubuntu-branches/ubuntu/trusty/gnustep-base/trusty

« back to all changes in this revision

Viewing changes to Source/GSDictionary.m

  • Committer: Package Import Robot
  • Author(s): Benjamin Drung
  • Date: 2012-11-21 13:56:22 UTC
  • mfrom: (8.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20121121135622-1w035dpxneardw8q
Tags: 1.24.0-1ubuntu1
Backport upstream fix for recent libxml2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
  GSDictionary          *dictionary;
75
75
  GSIMapEnumerator_t    enumerator;
76
76
}
 
77
- (id) initWithDictionary: (NSDictionary*)d;
77
78
@end
78
79
 
79
80
@interface GSDictionaryObjectEnumerator : GSDictionaryKeyEnumerator
183
184
}
184
185
 
185
186
/* Designated initialiser */
186
 
- (id) initWithObjects: (id*)objs forKeys: (id*)keys count: (NSUInteger)c
 
187
- (id) initWithObjects: (const id[])objs
 
188
               forKeys: (const id[])keys
 
189
                 count: (NSUInteger)c
187
190
{
188
191
  NSUInteger    i;
189
192
 
354
357
}
355
358
 
356
359
- (NSUInteger) countByEnumeratingWithState: (NSFastEnumerationState*)state      
357
 
                                   objects: (id*)stackbuf
 
360
                                   objects: (__unsafe_unretained id[])stackbuf
358
361
                                     count: (NSUInteger)len
359
362
{
360
363
  state->mutationsPtr = (unsigned long *)self;
458
461
}
459
462
 
460
463
- (NSUInteger) countByEnumeratingWithState: (NSFastEnumerationState*)state      
461
 
                                   objects: (id*)stackbuf
 
464
                                   objects: (__unsafe_unretained id[])stackbuf
462
465
                                     count: (NSUInteger)len
463
466
{
464
467
  state->mutationsPtr = (unsigned long *)&_version;