Searched refs:bsddb_api (Results 1 – 2 of 2) sorted by relevance
303 #define DBObject_Check(v) ((v)->ob_type == bsddb_api->db_type)304 #define DBCursorObject_Check(v) ((v)->ob_type == bsddb_api->dbcursor_type)305 #define DBEnvObject_Check(v) ((v)->ob_type == bsddb_api->dbenv_type)306 #define DBTxnObject_Check(v) ((v)->ob_type == bsddb_api->dbtxn_type)307 #define DBLockObject_Check(v) ((v)->ob_type == bsddb_api->dblock_type)309 ((bsddb_api->dbsequence_type) && \310 ((v)->ob_type == bsddb_api->dbsequence_type))
9576 static BSDDB_api bsddb_api; variable10273 bsddb_api.api_version = PYBSDDB_API_VERSION; in init_bsddb()10274 bsddb_api.db_type = &DB_Type; in init_bsddb()10275 bsddb_api.dbcursor_type = &DBCursor_Type; in init_bsddb()10276 bsddb_api.dblogcursor_type = &DBLogCursor_Type; in init_bsddb()10277 bsddb_api.dbenv_type = &DBEnv_Type; in init_bsddb()10278 bsddb_api.dbtxn_type = &DBTxn_Type; in init_bsddb()10279 bsddb_api.dblock_type = &DBLock_Type; in init_bsddb()10280 bsddb_api.dbsequence_type = &DBSequence_Type; in init_bsddb()10281 bsddb_api.makeDBError = makeDBError; in init_bsddb()[all …]