Skip to content

Commit

Permalink
Minor method name tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
davedelong committed Apr 10, 2011
1 parent c8ff945 commit bd58e67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FMResultSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
- (const unsigned char *)UTF8StringForColumnName:(NSString*)columnName;

// returns one of NSNumber, NSString, NSData, or NSNull
- (id)objectForColumn:(NSString*)columnName;
- (id)objectForColumnIndex:(int)columnIdx;
- (id)objectForColumnName:(NSString*)columnName;

/*
If you are going to use this data after you iterate over the next row, or after you close the
Expand Down
2 changes: 1 addition & 1 deletion src/FMResultSet.m
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ - (id)objectForColumnIndex:(int)columnIdx {
return returnValue;
}

- (id)objectForColumnName:(NSString*)columnName {
- (id)objectForColumn:(NSString*)columnName {
return [self objectForColumnIndex:[self columnIndexForName:columnName]];
}

Expand Down

0 comments on commit bd58e67

Please sign in to comment.