1
2
3
4
5
6
7
8
9
10
11
12
13
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
+
+
+
+
-
+
-
-
-
+
+
+
+
+
|
#include <libpq-fe.h>
#import <ObjFW/ObjFW.h>
OF_ASSUME_NONNULL_BEGIN
@class PGResultRow;
@interface PGResult: OFArray
@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
|