mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-40959: Remove unused declarations from sqlite3 headers (GH-20828)
This commit is contained in:
parent
ddb5e11683
commit
203b2493ae
5 changed files with 0 additions and 16 deletions
|
@ -62,11 +62,6 @@ typedef struct
|
||||||
extern PyTypeObject *pysqlite_NodeType;
|
extern PyTypeObject *pysqlite_NodeType;
|
||||||
extern PyTypeObject *pysqlite_CacheType;
|
extern PyTypeObject *pysqlite_CacheType;
|
||||||
|
|
||||||
int pysqlite_node_init(pysqlite_Node* self, PyObject* args, PyObject* kwargs);
|
|
||||||
void pysqlite_node_dealloc(pysqlite_Node* self);
|
|
||||||
|
|
||||||
int pysqlite_cache_init(pysqlite_Cache* self, PyObject* args, PyObject* kwargs);
|
|
||||||
void pysqlite_cache_dealloc(pysqlite_Cache* self);
|
|
||||||
PyObject* pysqlite_cache_get(pysqlite_Cache* self, PyObject* args);
|
PyObject* pysqlite_cache_get(pysqlite_Cache* self, PyObject* args);
|
||||||
|
|
||||||
int pysqlite_cache_setup_types(PyObject *module);
|
int pysqlite_cache_setup_types(PyObject *module);
|
||||||
|
|
|
@ -108,11 +108,7 @@ typedef struct
|
||||||
|
|
||||||
extern PyTypeObject *pysqlite_ConnectionType;
|
extern PyTypeObject *pysqlite_ConnectionType;
|
||||||
|
|
||||||
PyObject* pysqlite_connection_alloc(PyTypeObject* type, int aware);
|
|
||||||
void pysqlite_connection_dealloc(pysqlite_Connection* self);
|
|
||||||
PyObject* _pysqlite_connection_begin(pysqlite_Connection* self);
|
PyObject* _pysqlite_connection_begin(pysqlite_Connection* self);
|
||||||
PyObject* pysqlite_connection_new(PyTypeObject* type, PyObject* args, PyObject* kw);
|
|
||||||
int pysqlite_connection_init(pysqlite_Connection* self, PyObject* args, PyObject* kwargs);
|
|
||||||
|
|
||||||
int pysqlite_connection_register_cursor(pysqlite_Connection* connection, PyObject* cursor);
|
int pysqlite_connection_register_cursor(pysqlite_Connection* connection, PyObject* cursor);
|
||||||
int pysqlite_check_thread(pysqlite_Connection* self);
|
int pysqlite_check_thread(pysqlite_Connection* self);
|
||||||
|
|
|
@ -54,9 +54,6 @@ typedef struct
|
||||||
|
|
||||||
extern PyTypeObject *pysqlite_CursorType;
|
extern PyTypeObject *pysqlite_CursorType;
|
||||||
|
|
||||||
PyObject* pysqlite_cursor_getiter(pysqlite_Cursor *self);
|
|
||||||
PyObject* pysqlite_cursor_iternext(pysqlite_Cursor *self);
|
|
||||||
|
|
||||||
int pysqlite_cursor_setup_types(PyObject *module);
|
int pysqlite_cursor_setup_types(PyObject *module);
|
||||||
|
|
||||||
#define UNKNOWN (-1)
|
#define UNKNOWN (-1)
|
||||||
|
|
|
@ -33,9 +33,6 @@ typedef struct
|
||||||
|
|
||||||
extern PyTypeObject *pysqlite_PrepareProtocolType;
|
extern PyTypeObject *pysqlite_PrepareProtocolType;
|
||||||
|
|
||||||
int pysqlite_prepare_protocol_init(pysqlite_PrepareProtocol* self, PyObject* args, PyObject* kwargs);
|
|
||||||
void pysqlite_prepare_protocol_dealloc(pysqlite_PrepareProtocol* self);
|
|
||||||
|
|
||||||
int pysqlite_prepare_protocol_setup_types(PyObject *module);
|
int pysqlite_prepare_protocol_setup_types(PyObject *module);
|
||||||
|
|
||||||
#define UNKNOWN (-1)
|
#define UNKNOWN (-1)
|
||||||
|
|
|
@ -46,7 +46,6 @@ typedef struct
|
||||||
extern PyTypeObject *pysqlite_StatementType;
|
extern PyTypeObject *pysqlite_StatementType;
|
||||||
|
|
||||||
int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* connection, PyObject* sql);
|
int pysqlite_statement_create(pysqlite_Statement* self, pysqlite_Connection* connection, PyObject* sql);
|
||||||
void pysqlite_statement_dealloc(pysqlite_Statement* self);
|
|
||||||
|
|
||||||
int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter);
|
int pysqlite_statement_bind_parameter(pysqlite_Statement* self, int pos, PyObject* parameter);
|
||||||
void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* parameters);
|
void pysqlite_statement_bind_parameters(pysqlite_Statement* self, PyObject* parameters);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue