Browse Source

Minor method name tweak

Dave DeLong 15 years ago
parent
commit
bd58e674ce
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/FMResultSet.h
  2. 1 1
      src/FMResultSet.m

+ 1 - 1
src/FMResultSet.h

@@ -74,8 +74,8 @@
 - (const unsigned char *)UTF8StringForColumnName:(NSString*)columnName;
 - (const unsigned char *)UTF8StringForColumnName:(NSString*)columnName;
 
 
 // returns one of NSNumber, NSString, NSData, or NSNull
 // returns one of NSNumber, NSString, NSData, or NSNull
+- (id)objectForColumn:(NSString*)columnName;
 - (id)objectForColumnIndex:(int)columnIdx;
 - (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
 If you are going to use this data after you iterate over the next row, or after you close the

+ 1 - 1
src/FMResultSet.m

@@ -358,7 +358,7 @@ - (id)objectForColumnIndex:(int)columnIdx {
     return returnValue;
     return returnValue;
 }
 }
 
 
-- (id)objectForColumnName:(NSString*)columnName {
+- (id)objectForColumn:(NSString*)columnName {
     return [self objectForColumnIndex:[self columnIndexForName:columnName]];
     return [self objectForColumnIndex:[self columnIndexForName:columnName]];
 }
 }