Adjust to recent ObjFW changes
FossilOrigin-Name: fc8e42990e7f6476b8b806521222620bbac0496c61a91b20f9e3787fc20fdbb4
This commit is contained in:
parent
6d64ce5a68
commit
ae918f26c4
12 changed files with 88 additions and 65 deletions
|
@ -2,12 +2,18 @@
|
|||
|
||||
#import <ObjFW/ObjFW.h>
|
||||
|
||||
@interface PGResult: OFArray
|
||||
OF_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class PGResultRow;
|
||||
|
||||
@interface PGResult: OFArray OF_GENERIC(PGResultRow *)
|
||||
{
|
||||
PGresult *_result;
|
||||
}
|
||||
|
||||
+ PG_resultWithResult: (PGresult*)result;
|
||||
- PG_initWithResult: (PGresult*)result;
|
||||
- (PGresult*)PG_result;
|
||||
+ (instancetype)PG_resultWithResult: (PGresult *)result;
|
||||
- PG_initWithResult: (PGresult *)result OF_METHOD_FAMILY(init);
|
||||
- (PGresult *)PG_result;
|
||||
@end
|
||||
|
||||
OF_ASSUME_NONNULL_END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue