Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
84562350
Commit
84562350
authored
Oct 20, 2005
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get bsddb module to compile with version 3.2 of BSD DB.
parent
95c1e506
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Modules/_bsddb.c
Modules/_bsddb.c
+8
-0
No files found.
Modules/_bsddb.c
View file @
84562350
...
...
@@ -1969,6 +1969,7 @@ DB_set_bt_minkey(DBObject* self, PyObject* args)
RETURN_NONE
();
}
#if (DBVER >= 33)
static
int
_default_cmp
(
const
DBT
*
leftKey
,
const
DBT
*
rightKey
)
...
...
@@ -2120,6 +2121,7 @@ DB_set_bt_compare (DBObject* self, PyObject* args)
RETURN_IF_ERR
();
RETURN_NONE
();
}
#endif
/* DBVER >= 33 */
static
PyObject
*
...
...
@@ -3956,6 +3958,7 @@ DBEnv_set_lg_max(DBEnvObject* self, PyObject* args)
}
#if (DBVER >= 33)
static
PyObject
*
DBEnv_set_lg_regionmax
(
DBEnvObject
*
self
,
PyObject
*
args
)
{
...
...
@@ -3971,6 +3974,7 @@ DBEnv_set_lg_regionmax(DBEnvObject* self, PyObject* args)
RETURN_IF_ERR
();
RETURN_NONE
();
}
#endif
static
PyObject
*
...
...
@@ -4593,7 +4597,9 @@ static PyMethodDef DB_methods[] = {
{
"remove"
,
(
PyCFunction
)
DB_remove
,
METH_VARARGS
|
METH_KEYWORDS
},
{
"rename"
,
(
PyCFunction
)
DB_rename
,
METH_VARARGS
},
{
"set_bt_minkey"
,
(
PyCFunction
)
DB_set_bt_minkey
,
METH_VARARGS
},
#if (DBVER >= 33)
{
"set_bt_compare"
,
(
PyCFunction
)
DB_set_bt_compare
,
METH_VARARGS
},
#endif
{
"set_cachesize"
,
(
PyCFunction
)
DB_set_cachesize
,
METH_VARARGS
},
#if (DBVER >= 41)
{
"set_encrypt"
,
(
PyCFunction
)
DB_set_encrypt
,
METH_VARARGS
|
METH_KEYWORDS
},
...
...
@@ -4683,7 +4689,9 @@ static PyMethodDef DBEnv_methods[] = {
{
"set_lg_bsize"
,
(
PyCFunction
)
DBEnv_set_lg_bsize
,
METH_VARARGS
},
{
"set_lg_dir"
,
(
PyCFunction
)
DBEnv_set_lg_dir
,
METH_VARARGS
},
{
"set_lg_max"
,
(
PyCFunction
)
DBEnv_set_lg_max
,
METH_VARARGS
},
#if (DBVER >= 33)
{
"set_lg_regionmax"
,(
PyCFunction
)
DBEnv_set_lg_regionmax
,
METH_VARARGS
},
#endif
{
"set_lk_detect"
,
(
PyCFunction
)
DBEnv_set_lk_detect
,
METH_VARARGS
},
{
"set_lk_max"
,
(
PyCFunction
)
DBEnv_set_lk_max
,
METH_VARARGS
},
#if (DBVER >= 32)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment