NS_IMETHOD GetConstantCount(PRUint16 *aConstantCount) { return !mEntry ? NS_ERROR_UNEXPECTED : mEntry->GetConstantCount(aConstantCount); }
xptiInterfaceInfo::GetConstantCount(uint16* count) { NS_PRECONDITION(count, "bad param");  if(!EnsureResolved()) return NS_ERROR_UNEXPECTED;  *count = mInterface->mConstantBaseIndex + mInterface->mDescriptor->num_constants; return NS_OK; }
    NS_IMETHOD GetConstantCount(PRUint16 *aConstantCount) { return !mEntry ? NS_ERROR_UNEXPECTED : mEntry->GetConstantCount(aConstantCount); }