Convert naming of hash helpers to AS namespace

This commit is contained in:
Levi McCallum
2015-11-30 06:53:50 -08:00
parent 82848d6c23
commit cd78bcce99
3 changed files with 16 additions and 16 deletions

View File

@@ -15,12 +15,12 @@
#import <stdio.h>
#import <string>
NSUInteger CKIntegerArrayHash(const NSUInteger *subhashes, NSUInteger count)
NSUInteger ASIntegerArrayHash(const NSUInteger *subhashes, NSUInteger count)
{
uint64_t result = subhashes[0];
for (int ii = 1; ii < count; ++ii) {
result = CKHashCombine(result, subhashes[ii]);
result = ASHashCombine(result, subhashes[ii]);
}
return CKHash64ToNative(result);
return ASHash64ToNative(result);
}