}
#ifdef WITH_CGRAPH
-- (id)initWithGraph:(graph_t *)graph prototype:(int)kind;
+- (id)initWithGraphLoc:(graph_t *)graph prototype:(int)kind;
#else
-- (id)initWithPrototype:(void *)proto;
+- (id)initWithPrototypeLoc:(void *)proto;
#endif
- (NSArray *)allObjects;
- (id)nextObject;
@implementation GVGraphDefaultAttributeKeyEnumerator
#ifdef WITH_CGRAPH
-- (id)initWithGraph:(graph_t *)graph prototype:(int)kind;
+- (id)initWithGraphLoc:(graph_t *)graph prototype:(int)kind;
{
if (self = [super init]) {
_kind = kind;
return nil;
}
#else
-- (id)initWithPrototype:(void *)proto
+- (id)initWithPrototypeLoc:(void *)proto
{
if (self = [super init]) {
_proto = proto;
- (NSEnumerator *)keyEnumerator
{
- return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithGraph:_graph->_graph prototype:_kind] autorelease];
+ return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithGraphLoc:_graph->_graph prototype:_kind] autorelease];
}
- (id)objectForKey:(id)aKey
- (NSEnumerator *)keyEnumerator
{
- return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithPrototype:_proto] autorelease];
+ return [[[GVGraphDefaultAttributeKeyEnumerator alloc] initWithPrototypeLoc:_proto] autorelease];
}
- (id)objectForKey:(id)aKey