Artifact b70e0a8f150f70a451fc7e2591dc70f622d4d93ce8185a589e1b8d15f982a897:
- File src/PGResult.h — part of check-in [fc8e42990e] at 2017-05-09 23:19:20 on branch trunk — Adjust to recent ObjFW changes (user: js, size: 348) [annotate] [blame] [check-ins using]
#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