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))
9600 static BSDDB_api bsddb_api; variable10297 bsddb_api.api_version = PYBSDDB_API_VERSION; in init_bsddb()10298 bsddb_api.db_type = &DB_Type; in init_bsddb()10299 bsddb_api.dbcursor_type = &DBCursor_Type; in init_bsddb()10300 bsddb_api.dblogcursor_type = &DBLogCursor_Type; in init_bsddb()10301 bsddb_api.dbenv_type = &DBEnv_Type; in init_bsddb()10302 bsddb_api.dbtxn_type = &DBTxn_Type; in init_bsddb()10303 bsddb_api.dblock_type = &DBLock_Type; in init_bsddb()10304 bsddb_api.dbsequence_type = &DBSequence_Type; in init_bsddb()10305 bsddb_api.makeDBError = makeDBError; in init_bsddb()[all …]