Move private methods to separate headers
Also fixes a typo and adds two missing nullability annotations. FossilOrigin-Name: 6307a381989719ad89067e1ae2cb5d454dd0b77a83cc6141785067365767e7f6
This commit is contained in:
parent
ae918f26c4
commit
308199f21e
10 changed files with 58 additions and 30 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue