ObjPgSQL  Diff

Differences From Artifact [6294089c40]:

To Artifact [b70e0a8f15]:


1
2
3
4




5
6
7
8
9
10
11
12
13


#include <libpq-fe.h>

#import <ObjFW/ObjFW.h>





@interface PGResult: OFArray
{
	PGresult *_result;
}

+ PG_resultWithResult: (PGresult*)result;
- PG_initWithResult: (PGresult*)result;
- (PGresult*)PG_result;
@end






>
>
>
>
|




|
|
|

>
>
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 OF_GENERIC(PGResultRow *)
{
	PGresult *_result;
}

+ (instancetype)PG_resultWithResult: (PGresult *)result;
- PG_initWithResult: (PGresult *)result OF_METHOD_FAMILY(init);
- (PGresult *)PG_result;
@end

OF_ASSUME_NONNULL_END