Move private methods to separate headers

Also fixes a typo and adds two missing nullability annotations.

FossilOrigin-Name: 6307a381989719ad89067e1ae2cb5d454dd0b77a83cc6141785067365767e7f6
This commit is contained in:
Jonathan Schleifer 2017-05-10 23:46:04 +00:00
parent ae918f26c4
commit 308199f21e
10 changed files with 58 additions and 30 deletions

View file

@ -1,4 +1,5 @@
#import "PGResultRow.h"
#import "PGResult+Private.h"
static id
convertType(PGresult *res, int column, OFString *string)
@ -45,8 +46,8 @@ convertType(PGresult *res, int column, OFString *string)
@end
@implementation PGResultRow
+ rowWithResult: (PGResult *)result
row: (int)row
+ (instancetype)rowWithResult: (PGResult *)result
row: (int)row
{
return [[[self alloc] initWithResult: result
row: row] autorelease];