First Commit
This commit is contained in:
commit
dbdc5bcc4a
1791 files changed
+489451
No files matched your search
@@ -0,0 +1,31 @@
|
||||
/** Minimal forward declarations of libpq types needed in libpqxx headers.
|
||||
*
|
||||
* DO NOT INCLUDE THIS FILE when building client programs.
|
||||
*
|
||||
* Copyright (c) 2000-2022, Jeroen T. Vermeulen.
|
||||
*
|
||||
* See COPYING for copyright license. If you did not receive a file called
|
||||
* COPYING with this source code, please notify the distributor of this
|
||||
* mistake, or contact the author.
|
||||
*/
|
||||
extern "C"
|
||||
{
|
||||
struct pg_conn;
|
||||
struct pg_result;
|
||||
struct pgNotify;
|
||||
}
|
||||
|
||||
/// Forward declarations of libpq types as needed in libpqxx headers.
|
||||
namespace pqxx::internal::pq
|
||||
{
|
||||
using PGconn = pg_conn;
|
||||
using PGresult = pg_result;
|
||||
using PGnotify = pgNotify;
|
||||
using PQnoticeProcessor = void (*)(void *, char const *);
|
||||
} // namespace pqxx::internal::pq
|
||||
|
||||
namespace pqxx
|
||||
{
|
||||
/// PostgreSQL database row identifier.
|
||||
using oid = unsigned int;
|
||||
} // namespace pqxx
|
||||
Reference in new issue
Block a user