New: use @ref and @deref instead of Ref.h throughout Cappuccino.

This commit is contained in:
Alexander Ljungberg
2013-03-10 13:08:34 +00:00
parent 9b4c126534
commit f4096b94a7
14 changed files with 40 additions and 83 deletions
+2 -2
View File
@@ -618,7 +618,7 @@ var concat = Array.prototype.concat,
var index = 0,
count = [self count],
shouldStop = NO,
shouldStopRef = AT_REF(shouldStop);
shouldStopRef = @ref(shouldStop);
for (; index < count; ++index)
{
@@ -648,7 +648,7 @@ var concat = Array.prototype.concat,
for (; index !== stop; index += increment)
{
aFunction([self objectAtIndex:index], index, AT_REF(shouldStop));
aFunction([self objectAtIndex:index], index, @ref(shouldStop));
if (shouldStop)
return;