Skip to content

Commit 8862b36

Browse files
committed
Remove inconsistent use of 'out'
1 parent 2ef0fa0 commit 8862b36

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Headers/Foundation/NSFileHandle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ GS_EXPORT_CLASS
136136
error: (NSError **)error;
137137

138138
- (BOOL) truncateAtOffset: (unsigned long long)offset
139-
error: (out NSError **)error;
139+
error: (NSError **)error;
140140

141141
#endif
142142

Source/NSFileHandle.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ - (void) waitForDataInBackgroundAndNotifyForModes: (NSArray*)modes
429429

430430
// Seeking within a file
431431

432-
- (BOOL) getOffset: (out unsigned long long *)offsetInFile
433-
error: (out NSError **)error
432+
- (BOOL) getOffset: (unsigned long long *)offsetInFile
433+
error: (NSError **)error
434434
{
435435
[self subclassResponsibility: _cmd];
436436
return NO;
@@ -456,15 +456,15 @@ - (unsigned long long) seekToEndOfFile
456456
return 0;
457457
}
458458

459-
- (BOOL) seekToEndReturningOffset: (out unsigned long long *)offsetInFile
460-
error: (out NSError **)error
459+
- (BOOL) seekToEndReturningOffset: (unsigned long long *)offsetInFile
460+
error: (NSError **)error
461461
{
462462
[self subclassResponsibility: _cmd];
463463
return NO;
464464
}
465465

466466
- (BOOL) seekToOffset: (unsigned long long)offset
467-
error: (out NSError **)error
467+
error: (NSError **)error
468468
{
469469
[self subclassResponsibility: _cmd];
470470
return NO;
@@ -509,7 +509,7 @@ - (void) truncateFileAtOffset: (unsigned long long)pos
509509
}
510510

511511
- (BOOL) truncateAtOffset: (unsigned long long)offset
512-
error: (out NSError **)error
512+
error: (NSError **)error
513513
{
514514
[self subclassResponsibility: _cmd];
515515
return NO;

0 commit comments

Comments
 (0)