inColl->retain();
collection = inColl;
- collIterator = 0;
+ collIterator = NULL;
initialUpdateStamp = 0;
valid = false;
if (me && !me->initWithCollection(inColl)) {
me->release();
- return 0;
+ return NULL;
}
return me;
if (collIterator) {
kfree(collIterator, collection->iteratorSize());
OSCONTAINER_ACCUMSIZE(-((size_t) collection->iteratorSize()));
- collIterator = 0;
+ collIterator = NULL;
}
if (collection) {
collection->release();
- collection = 0;
+ collection = NULL;
}
super::free();
bool retVal;
if (!isValid()) {
- return 0;
+ return NULL;
}
retVal = collection->getNextObjectForIterator(collIterator, &retObj);
- return (retVal)? retObj : 0;
+ return (retVal)? retObj : NULL;
}