mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
Set hidden visibility to a few functions not public
This commit is contained in:
parent
c620f18be1
commit
837f1e5e4f
|
@ -124,6 +124,8 @@ HIDDEN PyObject *conn_text_from_chars(connectionObject *pgconn, const char *str)
|
||||||
HIDDEN int conn_get_standard_conforming_strings(PGconn *pgconn);
|
HIDDEN int conn_get_standard_conforming_strings(PGconn *pgconn);
|
||||||
HIDDEN int conn_get_isolation_level(PGresult *pgres);
|
HIDDEN int conn_get_isolation_level(PGresult *pgres);
|
||||||
HIDDEN int conn_get_protocol_version(PGconn *pgconn);
|
HIDDEN int conn_get_protocol_version(PGconn *pgconn);
|
||||||
|
HIDDEN int conn_get_server_version(PGconn *pgconn);
|
||||||
|
HIDDEN PGcancel *conn_get_cancel(PGconn *pgconn);
|
||||||
HIDDEN void conn_notice_process(connectionObject *self);
|
HIDDEN void conn_notice_process(connectionObject *self);
|
||||||
HIDDEN void conn_notice_clean(connectionObject *self);
|
HIDDEN void conn_notice_clean(connectionObject *self);
|
||||||
HIDDEN void conn_notifies_process(connectionObject *self);
|
HIDDEN void conn_notifies_process(connectionObject *self);
|
||||||
|
|
|
@ -189,7 +189,7 @@ exit:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
long
|
static long
|
||||||
notify_hash(NotifyObject *self)
|
notify_hash(NotifyObject *self)
|
||||||
{
|
{
|
||||||
long rv = -1L;
|
long rv = -1L;
|
||||||
|
|
|
@ -44,6 +44,8 @@ HIDDEN int pq_commit(connectionObject *conn);
|
||||||
HIDDEN int pq_abort_locked(connectionObject *conn, PGresult **pgres,
|
HIDDEN int pq_abort_locked(connectionObject *conn, PGresult **pgres,
|
||||||
char **error, PyThreadState **tstate);
|
char **error, PyThreadState **tstate);
|
||||||
HIDDEN int pq_abort(connectionObject *conn);
|
HIDDEN int pq_abort(connectionObject *conn);
|
||||||
|
HIDDEN int pq_reset_locked(connectionObject *conn, PGresult **pgres,
|
||||||
|
char **error, PyThreadState **tstate);
|
||||||
HIDDEN int pq_reset(connectionObject *conn);
|
HIDDEN int pq_reset(connectionObject *conn);
|
||||||
HIDDEN int pq_tpc_command_locked(connectionObject *conn,
|
HIDDEN int pq_tpc_command_locked(connectionObject *conn,
|
||||||
const char *cmd, const char *tid,
|
const char *cmd, const char *tid,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user